diff --git a/package-lock.json b/package-lock.json
index 24a41e5a46..25f6f4a710 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -96,7 +96,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz",
"integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==",
- "dev": true,
"dependencies": {
"@babel/highlight": "^7.16.7"
},
@@ -108,7 +107,6 @@
"version": "7.16.8",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.8.tgz",
"integrity": "sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -117,7 +115,6 @@
"version": "7.16.12",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.12.tgz",
"integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
- "dev": true,
"dependencies": {
"@babel/code-frame": "^7.16.7",
"@babel/generator": "^7.16.8",
@@ -147,7 +144,6 @@
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.9.tgz",
"integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.17.0",
"jsesc": "^2.5.1",
@@ -173,7 +169,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz",
"integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==",
- "dev": true,
"dependencies": {
"@babel/compat-data": "^7.16.4",
"@babel/helper-validator-option": "^7.16.7",
@@ -212,7 +207,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz",
"integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.7"
},
@@ -224,7 +218,6 @@
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz",
"integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==",
- "dev": true,
"dependencies": {
"@babel/template": "^7.16.7",
"@babel/types": "^7.17.0"
@@ -237,7 +230,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz",
"integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.7"
},
@@ -261,7 +253,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz",
"integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.7"
},
@@ -273,7 +264,6 @@
"version": "7.17.7",
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz",
"integrity": "sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==",
- "dev": true,
"dependencies": {
"@babel/helper-environment-visitor": "^7.16.7",
"@babel/helper-module-imports": "^7.16.7",
@@ -304,7 +294,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz",
"integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -329,7 +318,6 @@
"version": "7.17.7",
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz",
"integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.17.0"
},
@@ -353,7 +341,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz",
"integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.7"
},
@@ -365,7 +352,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz",
"integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -374,7 +360,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz",
"integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -383,7 +368,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.7.tgz",
"integrity": "sha512-9ZDoqtfY7AuEOt3cxchfii6C7GDyyMBffktR5B2jvWv8u2+efwvpnVKXMWzNehqy68tKgAfSwfdw/lWpthS2bw==",
- "dev": true,
"dependencies": {
"@babel/template": "^7.16.7",
"@babel/traverse": "^7.16.7",
@@ -397,7 +381,6 @@
"version": "7.16.10",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz",
"integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==",
- "dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.16.7",
"chalk": "^2.0.0",
@@ -411,7 +394,6 @@
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz",
"integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==",
- "dev": true,
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -732,7 +714,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz",
"integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==",
- "dev": true,
"dependencies": {
"@babel/code-frame": "^7.16.7",
"@babel/parser": "^7.16.7",
@@ -746,7 +727,6 @@
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.9.tgz",
"integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==",
- "dev": true,
"dependencies": {
"@babel/code-frame": "^7.16.7",
"@babel/generator": "^7.17.9",
@@ -767,7 +747,6 @@
"version": "7.17.0",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
- "dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.16.7",
"to-fast-properties": "^2.0.0"
@@ -966,6 +945,56 @@
"node": ">=6"
}
},
+ "node_modules/@types/babel__core": {
+ "version": "7.1.19",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz",
+ "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==",
+ "dev": true,
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "node_modules/@types/babel__generator": {
+ "version": "7.6.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz",
+ "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__helper-plugin-utils": {
+ "version": "7.10.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__helper-plugin-utils/-/babel__helper-plugin-utils-7.10.0.tgz",
+ "integrity": "sha512-60YtHzhQ9HAkToHVV+TB4VLzBn9lrfgrsOjiJMtbv/c1jPdekBxaByd6DMsGBzROXWoIL6U3lEFvvbu69RkUoA==",
+ "dev": true,
+ "dependencies": {
+ "@types/babel__core": "*"
+ }
+ },
+ "node_modules/@types/babel__template": {
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz",
+ "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==",
+ "dev": true,
+ "dependencies": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "node_modules/@types/babel__traverse": {
+ "version": "7.17.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.0.tgz",
+ "integrity": "sha512-r8aveDbd+rzGP+ykSdF3oPuTVRWRfbBiHl0rVDM2yNEmSMXfkObQLV46b4RnCv3Lra51OlfnZhkkFaDl2MIRaA==",
+ "dev": true,
+ "dependencies": {
+ "@babel/types": "^7.3.0"
+ }
+ },
"node_modules/@types/formidable": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/@types/formidable/-/formidable-2.0.4.tgz",
@@ -975,12 +1004,28 @@
"@types/node": "*"
}
},
+ "node_modules/@types/glob": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz",
+ "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==",
+ "dev": true,
+ "dependencies": {
+ "@types/minimatch": "*",
+ "@types/node": "*"
+ }
+ },
"node_modules/@types/json-schema": {
"version": "7.0.9",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz",
"integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==",
"dev": true
},
+ "node_modules/@types/minimatch": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz",
+ "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==",
+ "dev": true
+ },
"node_modules/@types/node": {
"version": "14.17.15",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.15.tgz",
@@ -1344,7 +1389,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
"dependencies": {
"color-convert": "^1.9.0"
},
@@ -1430,8 +1474,7 @@
"node_modules/balanced-match": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
},
"node_modules/basic-auth-parser": {
"version": "0.0.2",
@@ -1450,7 +1493,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -1472,7 +1514,6 @@
"version": "4.19.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz",
"integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==",
- "dev": true,
"dependencies": {
"caniuse-lite": "^1.0.30001286",
"electron-to-chromium": "^1.4.17",
@@ -1568,7 +1609,6 @@
"version": "1.0.30001304",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001304.tgz",
"integrity": "sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ==",
- "dev": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
@@ -1578,7 +1618,6 @@
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
"dependencies": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -1708,7 +1747,6 @@
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dev": true,
"dependencies": {
"color-name": "1.1.3"
}
@@ -1716,8 +1754,7 @@
"node_modules/color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "dev": true
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"node_modules/colors": {
"version": "1.4.0",
@@ -1764,8 +1801,7 @@
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
- "dev": true
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"node_modules/concat-stream": {
"version": "1.6.2",
@@ -1905,7 +1941,6 @@
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
"integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
- "dev": true,
"dependencies": {
"safe-buffer": "~5.1.1"
}
@@ -1992,7 +2027,6 @@
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
- "dev": true,
"dependencies": {
"ms": "2.1.2"
},
@@ -2127,8 +2161,7 @@
"node_modules/electron-to-chromium": {
"version": "1.4.59",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.59.tgz",
- "integrity": "sha512-AOJ3cAE0TWxz4fQ9zkND5hWrQg16nsZKVz9INOot1oV//u4wWu5xrj9CQMmPTYskkZRunSRc9sAnr4EkexXokg==",
- "dev": true
+ "integrity": "sha512-AOJ3cAE0TWxz4fQ9zkND5hWrQg16nsZKVz9INOot1oV//u4wWu5xrj9CQMmPTYskkZRunSRc9sAnr4EkexXokg=="
},
"node_modules/electron/node_modules/@types/node": {
"version": "14.18.10",
@@ -2596,7 +2629,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "dev": true,
"engines": {
"node": ">=6"
}
@@ -2605,7 +2637,6 @@
"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,
"engines": {
"node": ">=0.8.0"
}
@@ -3117,8 +3148,7 @@
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
- "dev": true
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"node_modules/fsevents": {
"version": "2.3.2",
@@ -3150,7 +3180,6 @@
"version": "1.0.0-beta.2",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
"integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -3194,10 +3223,9 @@
}
},
"node_modules/glob": {
- "version": "7.1.7",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
- "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
- "dev": true,
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
+ "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -3280,7 +3308,6 @@
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -3386,7 +3413,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -3466,7 +3492,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
- "dev": true,
"dependencies": {
"once": "^1.3.0",
"wrappy": "1"
@@ -3475,8 +3500,7 @@
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"node_modules/ini": {
"version": "1.3.8",
@@ -3563,8 +3587,7 @@
"node_modules/js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"node_modules/js-yaml": {
"version": "4.1.0",
@@ -3582,7 +3605,6 @@
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "dev": true,
"bin": {
"jsesc": "bin/jsesc"
},
@@ -3625,7 +3647,6 @@
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
"integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
- "dev": true,
"bin": {
"json5": "lib/cli.js"
},
@@ -3870,7 +3891,6 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -3908,8 +3928,7 @@
"node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/nanoid": {
"version": "3.3.1",
@@ -3941,8 +3960,7 @@
"node_modules/node-releases": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz",
- "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==",
- "dev": true
+ "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA=="
},
"node_modules/node-stream-zip": {
"version": "1.15.0",
@@ -4079,7 +4097,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dev": true,
"dependencies": {
"wrappy": "1"
}
@@ -4172,7 +4189,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -4210,8 +4226,7 @@
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
- "dev": true
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
},
"node_modules/picomatch": {
"version": "2.2.3",
@@ -4689,8 +4704,7 @@
"node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/sax": {
"version": "1.2.4",
@@ -4712,7 +4726,6 @@
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true,
"bin": {
"semver": "bin/semver.js"
}
@@ -4837,7 +4850,6 @@
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -4926,6 +4938,25 @@
"node": "*"
}
},
+ "node_modules/stack-utils": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz",
+ "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==",
+ "dependencies": {
+ "escape-string-regexp": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/stack-utils/node_modules/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==",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
@@ -4995,7 +5026,6 @@
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
"dependencies": {
"has-flag": "^3.0.0"
},
@@ -5025,7 +5055,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
"integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -5343,14 +5372,12 @@
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
- "dev": true
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/ws": {
"version": "8.5.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz",
"integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==",
- "dev": true,
"engines": {
"node": ">=10.0.0"
},
@@ -5507,7 +5534,22 @@
}
},
"packages/html-reporter": {
- "version": "0.0.0"
+ "version": "0.0.0",
+ "dependencies": {
+ "@babel/core": "^7.16.12",
+ "@babel/helper-plugin-utils": "^7.16.7",
+ "@babel/parser": "^7.16.12",
+ "@babel/traverse": "^7.16.10",
+ "glob": "^7.2.0",
+ "stack-utils": "^2.0.5",
+ "ws": "^8.4.2"
+ },
+ "devDependencies": {
+ "@types/babel__core": "^7.1.18",
+ "@types/babel__helper-plugin-utils": "^7.10.0",
+ "@types/babel__traverse": "^7.14.2",
+ "@types/glob": "^7.2.0"
+ }
},
"packages/playwright": {
"version": "1.22.0-next",
@@ -5660,7 +5702,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz",
"integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==",
- "dev": true,
"requires": {
"@babel/highlight": "^7.16.7"
}
@@ -5668,14 +5709,12 @@
"@babel/compat-data": {
"version": "7.16.8",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.8.tgz",
- "integrity": "sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q==",
- "dev": true
+ "integrity": "sha512-m7OkX0IdKLKPpBlJtF561YJal5y/jyI5fNfWbPxh2D/nbzzGI4qRyrD8xO2jB24u7l+5I2a43scCG2IrfjC50Q=="
},
"@babel/core": {
"version": "7.16.12",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.12.tgz",
"integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
- "dev": true,
"requires": {
"@babel/code-frame": "^7.16.7",
"@babel/generator": "^7.16.8",
@@ -5698,7 +5737,6 @@
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.9.tgz",
"integrity": "sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ==",
- "dev": true,
"requires": {
"@babel/types": "^7.17.0",
"jsesc": "^2.5.1",
@@ -5718,7 +5756,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz",
"integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==",
- "dev": true,
"requires": {
"@babel/compat-data": "^7.16.4",
"@babel/helper-validator-option": "^7.16.7",
@@ -5745,7 +5782,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz",
"integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.7"
}
@@ -5754,7 +5790,6 @@
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz",
"integrity": "sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg==",
- "dev": true,
"requires": {
"@babel/template": "^7.16.7",
"@babel/types": "^7.17.0"
@@ -5764,7 +5799,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz",
"integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.7"
}
@@ -5782,7 +5816,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz",
"integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.7"
}
@@ -5791,7 +5824,6 @@
"version": "7.17.7",
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.17.7.tgz",
"integrity": "sha512-VmZD99F3gNTYB7fJRDTi+u6l/zxY0BE6OIxPSU7a50s6ZUQkHwSDmV92FfM+oCG0pZRVojGYhkR8I0OGeCVREw==",
- "dev": true,
"requires": {
"@babel/helper-environment-visitor": "^7.16.7",
"@babel/helper-module-imports": "^7.16.7",
@@ -5815,8 +5847,7 @@
"@babel/helper-plugin-utils": {
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz",
- "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==",
- "dev": true
+ "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA=="
},
"@babel/helper-replace-supers": {
"version": "7.16.7",
@@ -5835,7 +5866,6 @@
"version": "7.17.7",
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.17.7.tgz",
"integrity": "sha512-txyMCGroZ96i+Pxr3Je3lzEJjqwaRC9buMUgtomcrLe5Nd0+fk1h0LLA+ixUF5OW7AhHuQ7Es1WcQJZmZsz2XA==",
- "dev": true,
"requires": {
"@babel/types": "^7.17.0"
}
@@ -5853,7 +5883,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz",
"integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.7"
}
@@ -5861,20 +5890,17 @@
"@babel/helper-validator-identifier": {
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz",
- "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==",
- "dev": true
+ "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw=="
},
"@babel/helper-validator-option": {
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz",
- "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==",
- "dev": true
+ "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ=="
},
"@babel/helpers": {
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.7.tgz",
"integrity": "sha512-9ZDoqtfY7AuEOt3cxchfii6C7GDyyMBffktR5B2jvWv8u2+efwvpnVKXMWzNehqy68tKgAfSwfdw/lWpthS2bw==",
- "dev": true,
"requires": {
"@babel/template": "^7.16.7",
"@babel/traverse": "^7.16.7",
@@ -5885,7 +5911,6 @@
"version": "7.16.10",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz",
"integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==",
- "dev": true,
"requires": {
"@babel/helper-validator-identifier": "^7.16.7",
"chalk": "^2.0.0",
@@ -5895,8 +5920,7 @@
"@babel/parser": {
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.9.tgz",
- "integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg==",
- "dev": true
+ "integrity": "sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg=="
},
"@babel/plugin-proposal-class-properties": {
"version": "7.16.7",
@@ -6103,7 +6127,6 @@
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz",
"integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==",
- "dev": true,
"requires": {
"@babel/code-frame": "^7.16.7",
"@babel/parser": "^7.16.7",
@@ -6114,7 +6137,6 @@
"version": "7.17.9",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.9.tgz",
"integrity": "sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw==",
- "dev": true,
"requires": {
"@babel/code-frame": "^7.16.7",
"@babel/generator": "^7.17.9",
@@ -6132,7 +6154,6 @@
"version": "7.17.0",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz",
"integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==",
- "dev": true,
"requires": {
"@babel/helper-validator-identifier": "^7.16.7",
"to-fast-properties": "^2.0.0"
@@ -6294,6 +6315,56 @@
"defer-to-connect": "^1.0.1"
}
},
+ "@types/babel__core": {
+ "version": "7.1.19",
+ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz",
+ "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==",
+ "dev": true,
+ "requires": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0",
+ "@types/babel__generator": "*",
+ "@types/babel__template": "*",
+ "@types/babel__traverse": "*"
+ }
+ },
+ "@types/babel__generator": {
+ "version": "7.6.4",
+ "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.4.tgz",
+ "integrity": "sha512-tFkciB9j2K755yrTALxD44McOrk+gfpIpvC3sxHjRawj6PfnQxrse4Clq5y/Rq+G3mrBurMax/lG8Qn2t9mSsg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@types/babel__helper-plugin-utils": {
+ "version": "7.10.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__helper-plugin-utils/-/babel__helper-plugin-utils-7.10.0.tgz",
+ "integrity": "sha512-60YtHzhQ9HAkToHVV+TB4VLzBn9lrfgrsOjiJMtbv/c1jPdekBxaByd6DMsGBzROXWoIL6U3lEFvvbu69RkUoA==",
+ "dev": true,
+ "requires": {
+ "@types/babel__core": "*"
+ }
+ },
+ "@types/babel__template": {
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz",
+ "integrity": "sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g==",
+ "dev": true,
+ "requires": {
+ "@babel/parser": "^7.1.0",
+ "@babel/types": "^7.0.0"
+ }
+ },
+ "@types/babel__traverse": {
+ "version": "7.17.0",
+ "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.0.tgz",
+ "integrity": "sha512-r8aveDbd+rzGP+ykSdF3oPuTVRWRfbBiHl0rVDM2yNEmSMXfkObQLV46b4RnCv3Lra51OlfnZhkkFaDl2MIRaA==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.3.0"
+ }
+ },
"@types/formidable": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/@types/formidable/-/formidable-2.0.4.tgz",
@@ -6303,12 +6374,28 @@
"@types/node": "*"
}
},
+ "@types/glob": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz",
+ "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==",
+ "dev": true,
+ "requires": {
+ "@types/minimatch": "*",
+ "@types/node": "*"
+ }
+ },
"@types/json-schema": {
"version": "7.0.9",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz",
"integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==",
"dev": true
},
+ "@types/minimatch": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz",
+ "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==",
+ "dev": true
+ },
"@types/node": {
"version": "14.17.15",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.17.15.tgz",
@@ -6554,7 +6641,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
"requires": {
"color-convert": "^1.9.0"
}
@@ -6622,8 +6708,7 @@
"balanced-match": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
- "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
- "dev": true
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
},
"basic-auth-parser": {
"version": "0.0.2",
@@ -6642,7 +6727,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -6661,7 +6745,6 @@
"version": "4.19.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz",
"integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==",
- "dev": true,
"requires": {
"caniuse-lite": "^1.0.30001286",
"electron-to-chromium": "^1.4.17",
@@ -6730,14 +6813,12 @@
"caniuse-lite": {
"version": "1.0.30001304",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001304.tgz",
- "integrity": "sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ==",
- "dev": true
+ "integrity": "sha512-bdsfZd6K6ap87AGqSHJP/s1V+U6Z5lyrcbBu3ovbCCf8cSYpwTtGrCBObMpJqwxfTbLW6YTIdbb1jEeTelcpYQ=="
},
"chalk": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -6839,7 +6920,6 @@
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dev": true,
"requires": {
"color-name": "1.1.3"
}
@@ -6847,8 +6927,7 @@
"color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "dev": true
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"colors": {
"version": "1.4.0",
@@ -6885,8 +6964,7 @@
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
- "dev": true
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"concat-stream": {
"version": "1.6.2",
@@ -6994,7 +7072,6 @@
"version": "1.7.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz",
"integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",
- "dev": true,
"requires": {
"safe-buffer": "~5.1.1"
}
@@ -7054,7 +7131,6 @@
"version": "4.3.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz",
"integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==",
- "dev": true,
"requires": {
"ms": "2.1.2"
}
@@ -7191,8 +7267,7 @@
"electron-to-chromium": {
"version": "1.4.59",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.59.tgz",
- "integrity": "sha512-AOJ3cAE0TWxz4fQ9zkND5hWrQg16nsZKVz9INOot1oV//u4wWu5xrj9CQMmPTYskkZRunSRc9sAnr4EkexXokg==",
- "dev": true
+ "integrity": "sha512-AOJ3cAE0TWxz4fQ9zkND5hWrQg16nsZKVz9INOot1oV//u4wWu5xrj9CQMmPTYskkZRunSRc9sAnr4EkexXokg=="
},
"emoji-regex": {
"version": "8.0.0",
@@ -7424,14 +7499,12 @@
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "dev": true
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="
},
"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
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
"eslint": {
"version": "8.8.0",
@@ -7820,8 +7893,7 @@
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
- "dev": true
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"fsevents": {
"version": "2.3.2",
@@ -7845,8 +7917,7 @@
"gensync": {
"version": "1.0.0-beta.2",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
- "dev": true
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="
},
"get-caller-file": {
"version": "2.0.5",
@@ -7875,10 +7946,9 @@
}
},
"glob": {
- "version": "7.1.7",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz",
- "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==",
- "dev": true,
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
+ "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@@ -7941,8 +8011,7 @@
"globals": {
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "dev": true
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA=="
},
"globalthis": {
"version": "1.0.2",
@@ -8024,8 +8093,7 @@
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
},
"has-symbols": {
"version": "1.0.2",
@@ -8046,7 +8114,20 @@
"dev": true
},
"html-reporter": {
- "version": "file:packages/html-reporter"
+ "version": "file:packages/html-reporter",
+ "requires": {
+ "@babel/core": "^7.16.12",
+ "@babel/helper-plugin-utils": "^7.16.7",
+ "@babel/parser": "^7.16.12",
+ "@babel/traverse": "^7.16.10",
+ "@types/babel__core": "^7.1.18",
+ "@types/babel__helper-plugin-utils": "^7.10.0",
+ "@types/babel__traverse": "^7.14.2",
+ "@types/glob": "^7.2.0",
+ "glob": "^7.2.0",
+ "stack-utils": "^2.0.5",
+ "ws": "^8.4.2"
+ }
},
"http-cache-semantics": {
"version": "4.1.0",
@@ -8080,7 +8161,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
- "dev": true,
"requires": {
"once": "^1.3.0",
"wrappy": "1"
@@ -8089,8 +8169,7 @@
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
},
"ini": {
"version": "1.3.8",
@@ -8162,8 +8241,7 @@
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"js-yaml": {
"version": "4.1.0",
@@ -8177,8 +8255,7 @@
"jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "dev": true
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA=="
},
"json-buffer": {
"version": "3.0.0",
@@ -8214,8 +8291,7 @@
"json5": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
- "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
- "dev": true
+ "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA=="
},
"jsonfile": {
"version": "4.0.0",
@@ -8409,7 +8485,6 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
- "dev": true,
"requires": {
"brace-expansion": "^1.1.7"
}
@@ -8438,8 +8513,7 @@
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"nanoid": {
"version": "3.3.1",
@@ -8462,8 +8536,7 @@
"node-releases": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz",
- "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==",
- "dev": true
+ "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA=="
},
"node-stream-zip": {
"version": "1.15.0",
@@ -8567,7 +8640,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dev": true,
"requires": {
"wrappy": "1"
}
@@ -8638,8 +8710,7 @@
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
- "dev": true
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
"path-key": {
"version": "3.1.1",
@@ -8668,8 +8739,7 @@
"picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
- "dev": true
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
},
"picomatch": {
"version": "2.2.3",
@@ -9025,8 +9095,7 @@
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"sax": {
"version": "1.2.4",
@@ -9047,8 +9116,7 @@
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
},
"semver-compare": {
"version": "1.0.0",
@@ -9134,8 +9202,7 @@
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
},
"source-map-js": {
"version": "1.0.2",
@@ -9215,6 +9282,21 @@
"integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=",
"dev": true
},
+ "stack-utils": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz",
+ "integrity": "sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA==",
+ "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=="
+ }
+ }
+ },
"string_decoder": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
@@ -9269,7 +9351,6 @@
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
"requires": {
"has-flag": "^3.0.0"
}
@@ -9289,8 +9370,7 @@
"to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
- "dev": true
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4="
},
"to-readable-stream": {
"version": "1.0.0",
@@ -9516,14 +9596,12 @@
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
- "dev": true
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"ws": {
"version": "8.5.0",
"resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz",
"integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==",
- "dev": true,
"requires": {}
},
"xml2js": {
diff --git a/packages/html-reporter/package.json b/packages/html-reporter/package.json
index b11334c5b1..50d48ccfbf 100644
--- a/packages/html-reporter/package.json
+++ b/packages/html-reporter/package.json
@@ -5,6 +5,8 @@
"scripts": {
"dev": "vite",
"build": "vite build && tsc",
- "preview": "vite preview"
+ "preview": "vite preview",
+ "playwright-build": "vite --config playwright.vite.config.ts build",
+ "playwright-dev": "vite --config playwright.vite.config.ts"
}
}
diff --git a/packages/web/vite.config.ts b/packages/html-reporter/playwright.app.ts
similarity index 75%
rename from packages/web/vite.config.ts
rename to packages/html-reporter/playwright.app.ts
index 6090a51a73..6eba64fc0b 100644
--- a/packages/web/vite.config.ts
+++ b/packages/html-reporter/playwright.app.ts
@@ -14,13 +14,4 @@
* limitations under the License.
*/
-import { defineConfig } from 'vite';
-import react from '@vitejs/plugin-react';
-
-// https://vitejs.dev/config/
-export default defineConfig({
- plugins: [react()],
- server: {
- port: 3102,
- },
-});
+// Playwright's Vite plugin is dynamically populating this file with the components.
\ No newline at end of file
diff --git a/packages/html-reporter/playwright.config.ts b/packages/html-reporter/playwright.config.ts
index 84e5824d6d..8d795500a2 100644
--- a/packages/html-reporter/playwright.config.ts
+++ b/packages/html-reporter/playwright.config.ts
@@ -28,13 +28,13 @@ const config: PlaywrightTestConfig = {
['html', { open: 'on-failure' }]
],
webServer: {
- url: 'http://localhost:3101/tests.html',
- command: 'npm run dev',
+ url: 'http://localhost:3101/playwright.html',
+ command: 'npm run playwright-dev',
cwd: __dirname,
reuseExistingServer: !process.env.CI,
},
use: {
- baseURL: 'http://localhost:3101/tests.html',
+ baseURL: 'http://localhost:3101/playwright.html',
trace: 'on-first-retry',
},
projects: [ ],
diff --git a/packages/html-reporter/playwright.html b/packages/html-reporter/playwright.html
new file mode 100644
index 0000000000..b259aa5cf4
--- /dev/null
+++ b/packages/html-reporter/playwright.html
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+ Playwright Test Report
+
+
+
+
+
+
diff --git a/packages/html-reporter/playwright.vite.config.ts b/packages/html-reporter/playwright.vite.config.ts
new file mode 100644
index 0000000000..80df12e8a7
--- /dev/null
+++ b/packages/html-reporter/playwright.vite.config.ts
@@ -0,0 +1,39 @@
+/**
+ * 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.
+ */
+
+import { defineConfig } from 'vite';
+import react from '@vitejs/plugin-react';
+import playwrightPlugin from '@playwright/experimental-ct-react/vitePlugin';
+import path from 'path';
+
+// https://vitejs.dev/config/
+export default defineConfig({
+ plugins: [
+ react(),
+ playwrightPlugin({
+ imports: ['./src/theme.css']
+ }),
+ ],
+ resolve: {
+ alias: {
+ '@web': path.resolve(__dirname, '../web/src'),
+ '@playwright-core': path.resolve(__dirname, '../playwright-core/src'),
+ },
+ },
+ server: {
+ port: 3101,
+ },
+});
diff --git a/packages/html-reporter/src/chip.spec.tsx b/packages/html-reporter/src/chip.spec.tsx
index 75289fbc9e..deeeb09a89 100644
--- a/packages/html-reporter/src/chip.spec.tsx
+++ b/packages/html-reporter/src/chip.spec.tsx
@@ -16,7 +16,7 @@
import React from 'react';
import { expect, test } from '@playwright/experimental-ct-react/test';
-import { AutoChip, Chip } from './chip';
+import { AutoChip, Chip as LocalChip } from './chip';
test.use({ viewport: { width: 500, height: 500 } });
@@ -42,9 +42,9 @@ test('render long title', async ({ mount }) => {
test('setExpanded is called', async ({ mount }) => {
const expandedValues: boolean[] = [];
- const component = await mount( expandedValues.push(expanded)}>
- );
+ );
await component.locator('text=Title').click();
expect(expandedValues).toEqual([true]);
diff --git a/packages/html-reporter/src/chip.tsx b/packages/html-reporter/src/chip.tsx
index 71f82a5632..20627c7a50 100644
--- a/packages/html-reporter/src/chip.tsx
+++ b/packages/html-reporter/src/chip.tsx
@@ -20,7 +20,7 @@ import './colors.css';
import './common.css';
import * as icons from './icons';
-export const Chip: React.FunctionComponent<{
+export const Chip: React.FC<{
header: JSX.Element | string,
expanded?: boolean,
noInsets?: boolean,
diff --git a/packages/html-reporter/vite.config.ts b/packages/html-reporter/vite.config.ts
index 70dd5d8a14..cb57ca044d 100644
--- a/packages/html-reporter/vite.config.ts
+++ b/packages/html-reporter/vite.config.ts
@@ -44,7 +44,4 @@ export default defineConfig({
},
},
},
- server: {
- port: 3101,
- },
});
diff --git a/packages/playwright-core/bundles/utils/package-lock.json b/packages/playwright-core/bundles/utils/package-lock.json
index a9307f4cdb..f5096eed45 100644
--- a/packages/playwright-core/bundles/utils/package-lock.json
+++ b/packages/playwright-core/bundles/utils/package-lock.json
@@ -11,6 +11,7 @@
"colors": "1.4.0",
"commander": "8.3.0",
"debug": "^4.3.4",
+ "glob": "^7.1.3",
"https-proxy-agent": "5.0.0",
"jpeg-js": "0.4.3",
"mime": "^3.0.0",
@@ -20,13 +21,14 @@
"progress": "2.0.3",
"proper-lockfile": "4.1.2",
"proxy-from-env": "1.1.0",
- "rimraf": "3.0.2",
+ "rimraf": "^3.0.2",
"socks-proxy-agent": "6.1.1",
"stack-utils": "2.0.5",
"ws": "8.4.2"
},
"devDependencies": {
"@types/debug": "^4.1.7",
+ "@types/glob": "^7.2.0",
"@types/mime": "^2.0.3",
"@types/minimatch": "^3.0.5",
"@types/ms": "^0.7.31",
diff --git a/packages/playwright-core/bundles/utils/package.json b/packages/playwright-core/bundles/utils/package.json
index 43ecc086ea..4ed3ba468c 100644
--- a/packages/playwright-core/bundles/utils/package.json
+++ b/packages/playwright-core/bundles/utils/package.json
@@ -12,6 +12,7 @@
"colors": "1.4.0",
"commander": "8.3.0",
"debug": "^4.3.4",
+ "glob": "^7.1.3",
"https-proxy-agent": "5.0.0",
"jpeg-js": "0.4.3",
"mime": "^3.0.0",
@@ -21,13 +22,14 @@
"progress": "2.0.3",
"proper-lockfile": "4.1.2",
"proxy-from-env": "1.1.0",
+ "rimraf": "^3.0.2",
"socks-proxy-agent": "6.1.1",
"stack-utils": "2.0.5",
- "rimraf": "3.0.2",
"ws": "8.4.2"
},
"devDependencies": {
"@types/debug": "^4.1.7",
+ "@types/glob": "^7.2.0",
"@types/mime": "^2.0.3",
"@types/minimatch": "^3.0.5",
"@types/ms": "^0.7.31",
diff --git a/packages/playwright-core/bundles/utils/src/utilsBundleImpl.ts b/packages/playwright-core/bundles/utils/src/utilsBundleImpl.ts
index 1ec3c810a7..faa62d7f61 100644
--- a/packages/playwright-core/bundles/utils/src/utilsBundleImpl.ts
+++ b/packages/playwright-core/bundles/utils/src/utilsBundleImpl.ts
@@ -22,6 +22,9 @@ export const debug = debugLibrary;
export { getProxyForUrl } from 'proxy-from-env';
+import globLibrary from 'glob';
+export const glob = globLibrary;
+
export { HttpsProxyAgent } from 'https-proxy-agent';
import jpegLibrary from 'jpeg-js';
diff --git a/packages/playwright-core/src/utilsBundle.ts b/packages/playwright-core/src/utilsBundle.ts
index e47b55c3e1..6406f3ec91 100644
--- a/packages/playwright-core/src/utilsBundle.ts
+++ b/packages/playwright-core/src/utilsBundle.ts
@@ -17,6 +17,7 @@
export const colors: typeof import('../bundles/utils/node_modules/colors/safe') = require('./utilsBundleImpl').colors;
export const debug: typeof import('../bundles/utils/node_modules/@types/debug') = require('./utilsBundleImpl').debug;
export const getProxyForUrl: typeof import('../bundles/utils/node_modules/@types/proxy-from-env').getProxyForUrl = require('./utilsBundleImpl').getProxyForUrl;
+export const glob: typeof import('../bundles/utils/node_modules/@types/glob') = require('./utilsBundleImpl').glob;
export const HttpsProxyAgent: typeof import('../bundles/utils/node_modules/https-proxy-agent').HttpsProxyAgent = require('./utilsBundleImpl').HttpsProxyAgent;
export const jpegjs: typeof import('../bundles/utils/node_modules/jpeg-js') = require('./utilsBundleImpl').jpegjs;
export const lockfile: typeof import('../bundles/utils/node_modules/@types/proper-lockfile') = require('./utilsBundleImpl').lockfile;
diff --git a/packages/playwright-ct-react/package.json b/packages/playwright-ct-react/package.json
index 5de04c0146..7e16f6346b 100644
--- a/packages/playwright-ct-react/package.json
+++ b/packages/playwright-ct-react/package.json
@@ -14,7 +14,8 @@
"license": "Apache-2.0",
"exports": {
"./register": "./register.mjs",
- "./test": "./test.js"
+ "./test": "./test.js",
+ "./vitePlugin": "./vitePlugin.js"
},
"devDependencies": {
"@playwright/test": "1.22.0-next"
diff --git a/packages/playwright-ct-react/register.mjs b/packages/playwright-ct-react/register.mjs
index 0c40e0a609..3c1721e33b 100644
--- a/packages/playwright-ct-react/register.mjs
+++ b/packages/playwright-ct-react/register.mjs
@@ -25,7 +25,22 @@ export default components => {
};
function render(component) {
- const componentFunc = registry.get(component.type) || component.type;
+ let componentFunc = registry.get(component.type);
+ if (!componentFunc) {
+ // Lookup by shorthand.
+ for (const [name, value] of registry) {
+ if (component.type.endsWith(`_${name}`)) {
+ componentFunc = value;
+ break;
+ }
+ }
+ }
+
+ if (!componentFunc && component.type[0].toUpperCase() === component.type[0])
+ throw new Error(`Unregistered component: ${component.type}. Following components are registered: ${[...registry.keys()]}`);
+
+ componentFunc = componentFunc || component.type;
+
return React.createElement(componentFunc, component.props, ...component.children.map(child => {
if (typeof child === 'string')
return child;
diff --git a/packages/playwright-ct-react/vitePlugin.d.ts b/packages/playwright-ct-react/vitePlugin.d.ts
new file mode 100644
index 0000000000..735f46d3a8
--- /dev/null
+++ b/packages/playwright-ct-react/vitePlugin.d.ts
@@ -0,0 +1,17 @@
+/**
+ * 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.
+ */
+
+export default function(options?: { include?: string, imports?: string[] }): any;
diff --git a/packages/web/src/components/index.ts b/packages/playwright-ct-react/vitePlugin.js
similarity index 66%
rename from packages/web/src/components/index.ts
rename to packages/playwright-ct-react/vitePlugin.js
index 1d76695673..d1c92f4472 100644
--- a/packages/web/src/components/index.ts
+++ b/packages/playwright-ct-react/vitePlugin.js
@@ -14,16 +14,5 @@
* limitations under the License.
*/
-import { Expandable } from './expandable';
-import { Source } from './source';
-import { SplitView } from './splitView';
-import '../common.css';
-import '../third_party/vscode/codicon.css';
-
-import register from '@playwright/experimental-ct-react/register';
-
-register({
- Expandable,
- Source,
- SplitView,
-});
+const { createVitePlugin } = require('@playwright/test/lib/vitePlugin');
+module.exports = createVitePlugin('@playwright/experimental-ct-react/register');
diff --git a/packages/playwright-ct-svelte/package.json b/packages/playwright-ct-svelte/package.json
index 1fd17b81e9..2b717dc5a6 100644
--- a/packages/playwright-ct-svelte/package.json
+++ b/packages/playwright-ct-svelte/package.json
@@ -14,7 +14,8 @@
"license": "Apache-2.0",
"exports": {
"./register": "./register.mjs",
- "./test": "./test.js"
+ "./test": "./test.js",
+ "./vitePlugin": "./vitePlugin.js"
},
"devDependencies": {
"@playwright/test": "1.22.0-next"
diff --git a/packages/playwright-ct-svelte/register.mjs b/packages/playwright-ct-svelte/register.mjs
index 41fea52b2a..2fef72f9b2 100644
--- a/packages/playwright-ct-svelte/register.mjs
+++ b/packages/playwright-ct-svelte/register.mjs
@@ -26,7 +26,19 @@ export default (components, options) => {
};
const playwrightMount = component => {
- const componentCtor = registry.get(component.type);
+ let componentCtor = registry.get(component.type);
+ if (!componentCtor) {
+ // Lookup by shorthand.
+ for (const [name, value] of registry) {
+ if (component.type.endsWith(`_${name}_svelte`)) {
+ componentCtor = value;
+ break;
+ }
+ }
+ }
+
+ if (!componentCtor)
+ throw new Error(`Unregistered component: ${component.type}. Following components are registered: ${[...registry.keys()]}`);
const wrapper = new componentCtor({
target: document.getElementById('app'),
diff --git a/packages/playwright-ct-svelte/vitePlugin.d.ts b/packages/playwright-ct-svelte/vitePlugin.d.ts
new file mode 100644
index 0000000000..735f46d3a8
--- /dev/null
+++ b/packages/playwright-ct-svelte/vitePlugin.d.ts
@@ -0,0 +1,17 @@
+/**
+ * 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.
+ */
+
+export default function(options?: { include?: string, imports?: string[] }): any;
diff --git a/packages/html-reporter/src/tests.ts b/packages/playwright-ct-svelte/vitePlugin.js
similarity index 63%
rename from packages/html-reporter/src/tests.ts
rename to packages/playwright-ct-svelte/vitePlugin.js
index 491a438ee2..1ea068e3a9 100644
--- a/packages/html-reporter/src/tests.ts
+++ b/packages/playwright-ct-svelte/vitePlugin.js
@@ -14,18 +14,5 @@
* limitations under the License.
*/
-import { AutoChip, Chip } from './chip';
-import { HeaderView } from './headerView';
-import { ImageDiffView } from './imageDiffView';
-import { TestCaseView } from './testCaseView';
-import './theme.css';
-
-import register from '@playwright/experimental-ct-react/register';
-
-register({
- AutoChip,
- Chip,
- HeaderView,
- ImageDiffView,
- TestCaseView,
-});
+const { createVitePlugin } = require('@playwright/test/lib/vitePlugin');
+module.exports = createVitePlugin('@playwright/experimental-ct-svelte/register');
diff --git a/packages/playwright-ct-vue/package.json b/packages/playwright-ct-vue/package.json
index 1519ebe85c..f5302afa3d 100644
--- a/packages/playwright-ct-vue/package.json
+++ b/packages/playwright-ct-vue/package.json
@@ -14,7 +14,8 @@
"license": "Apache-2.0",
"exports": {
"./register": "./register.mjs",
- "./test": "./test.js"
+ "./test": "./test.js",
+ "./vitePlugin": "./vitePlugin.js"
},
"devDependencies": {
"@playwright/test": "1.22.0-next"
diff --git a/packages/playwright-ct-vue/register.mjs b/packages/playwright-ct-vue/register.mjs
index bccabf3543..0032d7f64f 100644
--- a/packages/playwright-ct-vue/register.mjs
+++ b/packages/playwright-ct-vue/register.mjs
@@ -31,7 +31,23 @@ const allListeners = [];
function render(component) {
if (typeof component === 'string')
return component;
- const componentFunc = registry.get(component.type) || component.type;
+
+ let componentFunc = registry.get(component.type);
+ if (!componentFunc) {
+ // Lookup by shorthand.
+ for (const [name, value] of registry) {
+ if (component.type.endsWith(`_${name}_vue`)) {
+ componentFunc = value;
+ break;
+ }
+ }
+ }
+
+ if (!componentFunc && component.type[0].toUpperCase() === component.type[0])
+ throw new Error(`Unregistered component: ${component.type}. Following components are registered: ${[...registry.keys()]}`);
+
+ componentFunc = componentFunc || component.type;
+
const isVueComponent = componentFunc !== component.type;
const children = [];
diff --git a/packages/playwright-ct-vue/vitePlugin.d.ts b/packages/playwright-ct-vue/vitePlugin.d.ts
new file mode 100644
index 0000000000..735f46d3a8
--- /dev/null
+++ b/packages/playwright-ct-vue/vitePlugin.d.ts
@@ -0,0 +1,17 @@
+/**
+ * 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.
+ */
+
+export default function(options?: { include?: string, imports?: string[] }): any;
diff --git a/packages/playwright-ct-vue/vitePlugin.js b/packages/playwright-ct-vue/vitePlugin.js
new file mode 100644
index 0000000000..2293958f86
--- /dev/null
+++ b/packages/playwright-ct-vue/vitePlugin.js
@@ -0,0 +1,18 @@
+/**
+ * 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.
+ */
+
+const { createVitePlugin } = require('@playwright/test/lib/vitePlugin');
+module.exports = createVitePlugin('@playwright/experimental-ct-vue/register');
diff --git a/packages/playwright-test/ThirdPartyNotices.txt b/packages/playwright-test/ThirdPartyNotices.txt
index f224d4817f..f12634efc3 100644
--- a/packages/playwright-test/ThirdPartyNotices.txt
+++ b/packages/playwright-test/ThirdPartyNotices.txt
@@ -4,133 +4,343 @@ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Microsoft received such components are set forth below. Microsoft reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
-1. @babel/code-frame@7.16.7 (https://github.com/babel/babel)
-2. @babel/compat-data@7.17.7 (https://github.com/babel/babel)
-3. @babel/core@7.16.12 (https://github.com/babel/babel)
-4. @babel/generator@7.17.9 (https://github.com/babel/babel)
-5. @babel/helper-annotate-as-pure@7.16.7 (https://github.com/babel/babel)
-6. @babel/helper-compilation-targets@7.17.7 (https://github.com/babel/babel)
-7. @babel/helper-create-class-features-plugin@7.17.9 (https://github.com/babel/babel)
-8. @babel/helper-environment-visitor@7.16.7 (https://github.com/babel/babel)
-9. @babel/helper-function-name@7.17.9 (https://github.com/babel/babel)
-10. @babel/helper-hoist-variables@7.16.7 (https://github.com/babel/babel)
-11. @babel/helper-member-expression-to-functions@7.17.7 (https://github.com/babel/babel)
-12. @babel/helper-module-imports@7.16.7 (https://github.com/babel/babel)
-13. @babel/helper-module-transforms@7.17.7 (https://github.com/babel/babel)
-14. @babel/helper-optimise-call-expression@7.16.7 (https://github.com/babel/babel)
-15. @babel/helper-plugin-utils@7.16.7 (https://github.com/babel/babel)
-16. @babel/helper-replace-supers@7.16.7 (https://github.com/babel/babel)
-17. @babel/helper-simple-access@7.17.7 (https://github.com/babel/babel)
-18. @babel/helper-skip-transparent-expression-wrappers@7.16.0 (https://github.com/babel/babel)
-19. @babel/helper-split-export-declaration@7.16.7 (https://github.com/babel/babel)
-20. @babel/helper-validator-identifier@7.16.7 (https://github.com/babel/babel)
-21. @babel/helper-validator-option@7.16.7 (https://github.com/babel/babel)
-22. @babel/helpers@7.17.9 (https://github.com/babel/babel)
-23. @babel/highlight@7.17.9 (https://github.com/babel/babel)
-24. @babel/parser@7.17.9 (https://github.com/babel/babel)
-25. @babel/plugin-proposal-class-properties@7.16.7 (https://github.com/babel/babel)
-26. @babel/plugin-proposal-dynamic-import@7.16.7 (https://github.com/babel/babel)
-27. @babel/plugin-proposal-export-namespace-from@7.16.7 (https://github.com/babel/babel)
-28. @babel/plugin-proposal-logical-assignment-operators@7.16.7 (https://github.com/babel/babel)
-29. @babel/plugin-proposal-nullish-coalescing-operator@7.16.7 (https://github.com/babel/babel)
-30. @babel/plugin-proposal-numeric-separator@7.16.7 (https://github.com/babel/babel)
-31. @babel/plugin-proposal-optional-chaining@7.16.7 (https://github.com/babel/babel)
-32. @babel/plugin-proposal-private-methods@7.16.11 (https://github.com/babel/babel)
-33. @babel/plugin-proposal-private-property-in-object@7.16.7 (https://github.com/babel/babel)
-34. @babel/plugin-syntax-async-generators@7.8.4 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators)
-35. @babel/plugin-syntax-dynamic-import@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import)
-36. @babel/plugin-syntax-export-namespace-from@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from)
-37. @babel/plugin-syntax-json-strings@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-json-strings)
-38. @babel/plugin-syntax-logical-assignment-operators@7.10.4 (https://github.com/babel/babel)
-39. @babel/plugin-syntax-nullish-coalescing-operator@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-nullish-coalescing-operator)
-40. @babel/plugin-syntax-numeric-separator@7.10.4 (https://github.com/babel/babel)
-41. @babel/plugin-syntax-object-rest-spread@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-object-rest-spread)
-42. @babel/plugin-syntax-optional-catch-binding@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding)
-43. @babel/plugin-syntax-optional-chaining@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining)
-44. @babel/plugin-syntax-private-property-in-object@7.14.5 (https://github.com/babel/babel)
-45. @babel/plugin-syntax-typescript@7.16.7 (https://github.com/babel/babel)
-46. @babel/plugin-transform-modules-commonjs@7.16.8 (https://github.com/babel/babel)
-47. @babel/plugin-transform-typescript@7.16.8 (https://github.com/babel/babel)
-48. @babel/preset-typescript@7.16.7 (https://github.com/babel/babel)
-49. @babel/template@7.16.7 (https://github.com/babel/babel)
-50. @babel/traverse@7.17.9 (https://github.com/babel/babel)
-51. @babel/types@7.17.0 (https://github.com/babel/babel)
-52. ansi-styles@3.2.1 (https://github.com/chalk/ansi-styles)
-53. babel-plugin-dynamic-import-node@2.3.3 (https://github.com/airbnb/babel-plugin-dynamic-import-node)
-54. browserslist@4.20.2 (https://github.com/browserslist/browserslist)
-55. call-bind@1.0.2 (https://github.com/ljharb/call-bind)
-56. caniuse-lite@1.0.30001332 (https://github.com/browserslist/caniuse-lite)
-57. chalk@2.4.2 (https://github.com/chalk/chalk)
-58. color-convert@1.9.3 (https://github.com/Qix-/color-convert)
-59. color-name@1.1.3 (https://github.com/dfcreative/color-name)
-60. convert-source-map@1.8.0 (https://github.com/thlorenz/convert-source-map)
-61. debug@4.3.4 (https://github.com/debug-js/debug)
-62. define-properties@1.1.4 (https://github.com/ljharb/define-properties)
-63. electron-to-chromium@1.4.111 (https://github.com/kilian/electron-to-chromium)
-64. escalade@3.1.1 (https://github.com/lukeed/escalade)
-65. escape-string-regexp@1.0.5 (https://github.com/sindresorhus/escape-string-regexp)
-66. function-bind@1.1.1 (https://github.com/Raynos/function-bind)
-67. gensync@1.0.0-beta.2 (https://github.com/loganfsmyth/gensync)
-68. get-intrinsic@1.1.1 (https://github.com/ljharb/get-intrinsic)
-69. globals@11.12.0 (https://github.com/sindresorhus/globals)
-70. has-flag@3.0.0 (https://github.com/sindresorhus/has-flag)
-71. has-property-descriptors@1.0.0 (https://github.com/inspect-js/has-property-descriptors)
-72. has-symbols@1.0.3 (https://github.com/inspect-js/has-symbols)
-73. has@1.0.3 (https://github.com/tarruda/has)
-74. js-tokens@4.0.0 (https://github.com/lydell/js-tokens)
-75. jsesc@2.5.2 (https://github.com/mathiasbynens/jsesc)
-76. json5@2.2.1 (https://github.com/json5/json5)
-77. ms@2.1.2 (https://github.com/zeit/ms)
-78. node-releases@2.0.3 (https://github.com/chicoxyzzy/node-releases)
-79. object-keys@1.1.1 (https://github.com/ljharb/object-keys)
-80. object.assign@4.1.2 (https://github.com/ljharb/object.assign)
-81. picocolors@1.0.0 (https://github.com/alexeyraspopov/picocolors)
-82. safe-buffer@5.1.2 (https://github.com/feross/safe-buffer)
-83. semver@6.3.0 (https://github.com/npm/node-semver)
-84. source-map@0.5.7 (https://github.com/mozilla/source-map)
-85. supports-color@5.5.0 (https://github.com/chalk/supports-color)
-86. to-fast-properties@2.0.0 (https://github.com/sindresorhus/to-fast-properties)
-87. @jest/types@27.5.1 (https://github.com/facebook/jest)
-88. @types/istanbul-lib-coverage@2.0.4 (https://github.com/DefinitelyTyped/DefinitelyTyped)
-89. @types/istanbul-lib-report@3.0.0 (https://github.com/DefinitelyTyped/DefinitelyTyped)
-90. @types/istanbul-reports@3.0.1 (https://github.com/DefinitelyTyped/DefinitelyTyped)
-91. @types/node@17.0.24 (https://github.com/DefinitelyTyped/DefinitelyTyped)
-92. @types/stack-utils@2.0.1 (https://github.com/DefinitelyTyped/DefinitelyTyped)
-93. @types/yargs-parser@21.0.0 (https://github.com/DefinitelyTyped/DefinitelyTyped)
-94. @types/yargs@16.0.4 (https://github.com/DefinitelyTyped/DefinitelyTyped)
-95. ansi-regex@5.0.1 (https://github.com/chalk/ansi-regex)
-96. ansi-styles@4.3.0 (https://github.com/chalk/ansi-styles)
-97. ansi-styles@5.2.0 (https://github.com/chalk/ansi-styles)
-98. braces@3.0.2 (https://github.com/micromatch/braces)
-99. chalk@4.1.2 (https://github.com/chalk/chalk)
-100. color-convert@2.0.1 (https://github.com/Qix-/color-convert)
-101. color-name@1.1.4 (https://github.com/colorjs/color-name)
-102. diff-sequences@27.5.1 (https://github.com/facebook/jest)
-103. escape-string-regexp@2.0.0 (https://github.com/sindresorhus/escape-string-regexp)
-104. expect@27.2.5 (https://github.com/facebook/jest)
-105. fill-range@7.0.1 (https://github.com/jonschlinkert/fill-range)
-106. graceful-fs@4.2.10 (https://github.com/isaacs/node-graceful-fs)
-107. has-flag@4.0.0 (https://github.com/sindresorhus/has-flag)
-108. is-number@7.0.0 (https://github.com/jonschlinkert/is-number)
-109. jest-diff@27.5.1 (https://github.com/facebook/jest)
-110. jest-get-type@27.5.1 (https://github.com/facebook/jest)
-111. jest-matcher-utils@27.2.5 (https://github.com/facebook/jest)
-112. jest-message-util@27.5.1 (https://github.com/facebook/jest)
-113. jest-regex-util@27.5.1 (https://github.com/facebook/jest)
-114. micromatch@4.0.5 (https://github.com/micromatch/micromatch)
-115. picomatch@2.3.1 (https://github.com/micromatch/picomatch)
-116. pretty-format@27.5.1 (https://github.com/facebook/jest)
-117. react-is@17.0.2 (https://github.com/facebook/react)
-118. slash@3.0.0 (https://github.com/sindresorhus/slash)
-119. stack-utils@2.0.5 (https://github.com/tapjs/stack-utils)
-120. supports-color@7.2.0 (https://github.com/chalk/supports-color)
-121. to-regex-range@5.0.1 (https://github.com/micromatch/to-regex-range)
-122. define-lazy-prop@2.0.0 (https://github.com/sindresorhus/define-lazy-prop)
-123. is-docker@2.2.1 (https://github.com/sindresorhus/is-docker)
-124. is-wsl@2.2.0 (https://github.com/sindresorhus/is-wsl)
-125. open@8.4.0 (https://github.com/sindresorhus/open)
-126. pirates@4.0.4 (https://github.com/danez/pirates)
-127. source-map-support@0.4.18 (https://github.com/evanw/node-source-map-support)
+1. @ampproject/remapping@2.1.2 (https://github.com/ampproject/remapping)
+2. @babel/code-frame@7.16.7 (https://github.com/babel/babel)
+3. @babel/compat-data@7.17.7 (https://github.com/babel/babel)
+4. @babel/core@7.17.9 (https://github.com/babel/babel)
+5. @babel/generator@7.17.9 (https://github.com/babel/babel)
+6. @babel/helper-annotate-as-pure@7.16.7 (https://github.com/babel/babel)
+7. @babel/helper-compilation-targets@7.17.7 (https://github.com/babel/babel)
+8. @babel/helper-create-class-features-plugin@7.17.9 (https://github.com/babel/babel)
+9. @babel/helper-environment-visitor@7.16.7 (https://github.com/babel/babel)
+10. @babel/helper-function-name@7.17.9 (https://github.com/babel/babel)
+11. @babel/helper-hoist-variables@7.16.7 (https://github.com/babel/babel)
+12. @babel/helper-member-expression-to-functions@7.17.7 (https://github.com/babel/babel)
+13. @babel/helper-module-imports@7.16.7 (https://github.com/babel/babel)
+14. @babel/helper-module-transforms@7.17.7 (https://github.com/babel/babel)
+15. @babel/helper-optimise-call-expression@7.16.7 (https://github.com/babel/babel)
+16. @babel/helper-plugin-utils@7.16.7 (https://github.com/babel/babel)
+17. @babel/helper-replace-supers@7.16.7 (https://github.com/babel/babel)
+18. @babel/helper-simple-access@7.17.7 (https://github.com/babel/babel)
+19. @babel/helper-skip-transparent-expression-wrappers@7.16.0 (https://github.com/babel/babel)
+20. @babel/helper-split-export-declaration@7.16.7 (https://github.com/babel/babel)
+21. @babel/helper-validator-identifier@7.16.7 (https://github.com/babel/babel)
+22. @babel/helper-validator-option@7.16.7 (https://github.com/babel/babel)
+23. @babel/helpers@7.17.9 (https://github.com/babel/babel)
+24. @babel/highlight@7.17.9 (https://github.com/babel/babel)
+25. @babel/parser@7.17.9 (https://github.com/babel/babel)
+26. @babel/plugin-proposal-class-properties@7.16.7 (https://github.com/babel/babel)
+27. @babel/plugin-proposal-dynamic-import@7.16.7 (https://github.com/babel/babel)
+28. @babel/plugin-proposal-export-namespace-from@7.16.7 (https://github.com/babel/babel)
+29. @babel/plugin-proposal-logical-assignment-operators@7.16.7 (https://github.com/babel/babel)
+30. @babel/plugin-proposal-nullish-coalescing-operator@7.16.7 (https://github.com/babel/babel)
+31. @babel/plugin-proposal-numeric-separator@7.16.7 (https://github.com/babel/babel)
+32. @babel/plugin-proposal-optional-chaining@7.16.7 (https://github.com/babel/babel)
+33. @babel/plugin-proposal-private-methods@7.16.11 (https://github.com/babel/babel)
+34. @babel/plugin-proposal-private-property-in-object@7.16.7 (https://github.com/babel/babel)
+35. @babel/plugin-syntax-async-generators@7.8.4 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-async-generators)
+36. @babel/plugin-syntax-dynamic-import@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import)
+37. @babel/plugin-syntax-export-namespace-from@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-export-namespace-from)
+38. @babel/plugin-syntax-json-strings@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-json-strings)
+39. @babel/plugin-syntax-logical-assignment-operators@7.10.4 (https://github.com/babel/babel)
+40. @babel/plugin-syntax-nullish-coalescing-operator@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-nullish-coalescing-operator)
+41. @babel/plugin-syntax-numeric-separator@7.10.4 (https://github.com/babel/babel)
+42. @babel/plugin-syntax-object-rest-spread@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-object-rest-spread)
+43. @babel/plugin-syntax-optional-catch-binding@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-catch-binding)
+44. @babel/plugin-syntax-optional-chaining@7.8.3 (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-optional-chaining)
+45. @babel/plugin-syntax-private-property-in-object@7.14.5 (https://github.com/babel/babel)
+46. @babel/plugin-syntax-typescript@7.16.7 (https://github.com/babel/babel)
+47. @babel/plugin-transform-modules-commonjs@7.17.9 (https://github.com/babel/babel)
+48. @babel/plugin-transform-typescript@7.16.8 (https://github.com/babel/babel)
+49. @babel/preset-typescript@7.16.7 (https://github.com/babel/babel)
+50. @babel/template@7.16.7 (https://github.com/babel/babel)
+51. @babel/traverse@7.17.9 (https://github.com/babel/babel)
+52. @babel/types@7.17.0 (https://github.com/babel/babel)
+53. @jridgewell/resolve-uri@3.0.5 (https://github.com/jridgewell/resolve-uri)
+54. @jridgewell/sourcemap-codec@1.4.11 (https://github.com/jridgewell/sourcemap-codec)
+55. @jridgewell/trace-mapping@0.3.6 (https://github.com/jridgewell/trace-mapping)
+56. ansi-styles@3.2.1 (https://github.com/chalk/ansi-styles)
+57. babel-plugin-dynamic-import-node@2.3.3 (https://github.com/airbnb/babel-plugin-dynamic-import-node)
+58. browserslist@4.20.2 (https://github.com/browserslist/browserslist)
+59. call-bind@1.0.2 (https://github.com/ljharb/call-bind)
+60. caniuse-lite@1.0.30001332 (https://github.com/browserslist/caniuse-lite)
+61. chalk@2.4.2 (https://github.com/chalk/chalk)
+62. color-convert@1.9.3 (https://github.com/Qix-/color-convert)
+63. color-name@1.1.3 (https://github.com/dfcreative/color-name)
+64. convert-source-map@1.8.0 (https://github.com/thlorenz/convert-source-map)
+65. debug@4.3.4 (https://github.com/debug-js/debug)
+66. define-properties@1.1.4 (https://github.com/ljharb/define-properties)
+67. electron-to-chromium@1.4.114 (https://github.com/kilian/electron-to-chromium)
+68. escalade@3.1.1 (https://github.com/lukeed/escalade)
+69. escape-string-regexp@1.0.5 (https://github.com/sindresorhus/escape-string-regexp)
+70. function-bind@1.1.1 (https://github.com/Raynos/function-bind)
+71. gensync@1.0.0-beta.2 (https://github.com/loganfsmyth/gensync)
+72. get-intrinsic@1.1.1 (https://github.com/ljharb/get-intrinsic)
+73. globals@11.12.0 (https://github.com/sindresorhus/globals)
+74. has-flag@3.0.0 (https://github.com/sindresorhus/has-flag)
+75. has-property-descriptors@1.0.0 (https://github.com/inspect-js/has-property-descriptors)
+76. has-symbols@1.0.3 (https://github.com/inspect-js/has-symbols)
+77. has@1.0.3 (https://github.com/tarruda/has)
+78. js-tokens@4.0.0 (https://github.com/lydell/js-tokens)
+79. jsesc@2.5.2 (https://github.com/mathiasbynens/jsesc)
+80. json5@2.2.1 (https://github.com/json5/json5)
+81. ms@2.1.2 (https://github.com/zeit/ms)
+82. node-releases@2.0.3 (https://github.com/chicoxyzzy/node-releases)
+83. object-keys@1.1.1 (https://github.com/ljharb/object-keys)
+84. object.assign@4.1.2 (https://github.com/ljharb/object.assign)
+85. picocolors@1.0.0 (https://github.com/alexeyraspopov/picocolors)
+86. safe-buffer@5.1.2 (https://github.com/feross/safe-buffer)
+87. semver@6.3.0 (https://github.com/npm/node-semver)
+88. source-map@0.5.7 (https://github.com/mozilla/source-map)
+89. supports-color@5.5.0 (https://github.com/chalk/supports-color)
+90. to-fast-properties@2.0.0 (https://github.com/sindresorhus/to-fast-properties)
+91. @jest/types@27.5.1 (https://github.com/facebook/jest)
+92. @types/istanbul-lib-coverage@2.0.4 (https://github.com/DefinitelyTyped/DefinitelyTyped)
+93. @types/istanbul-lib-report@3.0.0 (https://github.com/DefinitelyTyped/DefinitelyTyped)
+94. @types/istanbul-reports@3.0.1 (https://github.com/DefinitelyTyped/DefinitelyTyped)
+95. @types/node@17.0.24 (https://github.com/DefinitelyTyped/DefinitelyTyped)
+96. @types/stack-utils@2.0.1 (https://github.com/DefinitelyTyped/DefinitelyTyped)
+97. @types/yargs-parser@21.0.0 (https://github.com/DefinitelyTyped/DefinitelyTyped)
+98. @types/yargs@16.0.4 (https://github.com/DefinitelyTyped/DefinitelyTyped)
+99. ansi-regex@5.0.1 (https://github.com/chalk/ansi-regex)
+100. ansi-styles@4.3.0 (https://github.com/chalk/ansi-styles)
+101. ansi-styles@5.2.0 (https://github.com/chalk/ansi-styles)
+102. braces@3.0.2 (https://github.com/micromatch/braces)
+103. chalk@4.1.2 (https://github.com/chalk/chalk)
+104. color-convert@2.0.1 (https://github.com/Qix-/color-convert)
+105. color-name@1.1.4 (https://github.com/colorjs/color-name)
+106. diff-sequences@27.5.1 (https://github.com/facebook/jest)
+107. escape-string-regexp@2.0.0 (https://github.com/sindresorhus/escape-string-regexp)
+108. expect@27.2.5 (https://github.com/facebook/jest)
+109. fill-range@7.0.1 (https://github.com/jonschlinkert/fill-range)
+110. graceful-fs@4.2.10 (https://github.com/isaacs/node-graceful-fs)
+111. has-flag@4.0.0 (https://github.com/sindresorhus/has-flag)
+112. is-number@7.0.0 (https://github.com/jonschlinkert/is-number)
+113. jest-diff@27.5.1 (https://github.com/facebook/jest)
+114. jest-get-type@27.5.1 (https://github.com/facebook/jest)
+115. jest-matcher-utils@27.2.5 (https://github.com/facebook/jest)
+116. jest-message-util@27.5.1 (https://github.com/facebook/jest)
+117. jest-regex-util@27.5.1 (https://github.com/facebook/jest)
+118. micromatch@4.0.5 (https://github.com/micromatch/micromatch)
+119. picomatch@2.3.1 (https://github.com/micromatch/picomatch)
+120. pretty-format@27.5.1 (https://github.com/facebook/jest)
+121. react-is@17.0.2 (https://github.com/facebook/react)
+122. slash@3.0.0 (https://github.com/sindresorhus/slash)
+123. stack-utils@2.0.5 (https://github.com/tapjs/stack-utils)
+124. supports-color@7.2.0 (https://github.com/chalk/supports-color)
+125. to-regex-range@5.0.1 (https://github.com/micromatch/to-regex-range)
+126. define-lazy-prop@2.0.0 (https://github.com/sindresorhus/define-lazy-prop)
+127. is-docker@2.2.1 (https://github.com/sindresorhus/is-docker)
+128. is-wsl@2.2.0 (https://github.com/sindresorhus/is-wsl)
+129. open@8.4.0 (https://github.com/sindresorhus/open)
+130. pirates@4.0.4 (https://github.com/danez/pirates)
+131. source-map-support@0.4.18 (https://github.com/evanw/node-source-map-support)
+
+%% @ampproject/remapping@2.1.2 NOTICES AND INFORMATION BEGIN HERE
+=========================================
+Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2019 Google LLC
+
+ 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.
+=========================================
+END OF @ampproject/remapping@2.1.2 AND INFORMATION
%% @babel/code-frame@7.16.7 NOTICES AND INFORMATION BEGIN HERE
=========================================
@@ -186,7 +396,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
END OF @babel/compat-data@7.17.7 AND INFORMATION
-%% @babel/core@7.16.12 NOTICES AND INFORMATION BEGIN HERE
+%% @babel/core@7.17.9 NOTICES AND INFORMATION BEGIN HERE
=========================================
MIT License
@@ -211,7 +421,7 @@ 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.
=========================================
-END OF @babel/core@7.16.12 AND INFORMATION
+END OF @babel/core@7.17.9 AND INFORMATION
%% @babel/generator@7.17.9 NOTICES AND INFORMATION BEGIN HERE
=========================================
@@ -1344,7 +1554,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
END OF @babel/plugin-syntax-typescript@7.16.7 AND INFORMATION
-%% @babel/plugin-transform-modules-commonjs@7.16.8 NOTICES AND INFORMATION BEGIN HERE
+%% @babel/plugin-transform-modules-commonjs@7.17.9 NOTICES AND INFORMATION BEGIN HERE
=========================================
MIT License
@@ -1369,7 +1579,7 @@ 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.
=========================================
-END OF @babel/plugin-transform-modules-commonjs@7.16.8 AND INFORMATION
+END OF @babel/plugin-transform-modules-commonjs@7.17.9 AND INFORMATION
%% @babel/plugin-transform-typescript@7.16.8 NOTICES AND INFORMATION BEGIN HERE
=========================================
@@ -1506,6 +1716,80 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
END OF @babel/types@7.17.0 AND INFORMATION
+%% @jridgewell/resolve-uri@3.0.5 NOTICES AND INFORMATION BEGIN HERE
+=========================================
+Copyright 2019 Justin Ridgewell
+
+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.
+=========================================
+END OF @jridgewell/resolve-uri@3.0.5 AND INFORMATION
+
+%% @jridgewell/sourcemap-codec@1.4.11 NOTICES AND INFORMATION BEGIN HERE
+=========================================
+The MIT License
+
+Copyright (c) 2015 Rich Harris
+
+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.
+=========================================
+END OF @jridgewell/sourcemap-codec@1.4.11 AND INFORMATION
+
+%% @jridgewell/trace-mapping@0.3.6 NOTICES AND INFORMATION BEGIN HERE
+=========================================
+Copyright 2022 Justin Ridgewell
+
+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.
+=========================================
+END OF @jridgewell/trace-mapping@0.3.6 AND INFORMATION
+
%% ansi-styles@3.2.1 NOTICES AND INFORMATION BEGIN HERE
=========================================
MIT License
@@ -2127,7 +2411,7 @@ THE SOFTWARE.
=========================================
END OF define-properties@1.1.4 AND INFORMATION
-%% electron-to-chromium@1.4.111 NOTICES AND INFORMATION BEGIN HERE
+%% electron-to-chromium@1.4.114 NOTICES AND INFORMATION BEGIN HERE
=========================================
Copyright 2018 Kilian Valkhof
@@ -2135,7 +2419,7 @@ Permission to use, copy, modify, and/or distribute this software for any purpose
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
=========================================
-END OF electron-to-chromium@1.4.111 AND INFORMATION
+END OF electron-to-chromium@1.4.114 AND INFORMATION
%% escalade@3.1.1 NOTICES AND INFORMATION BEGIN HERE
=========================================
diff --git a/packages/playwright-test/bundles/babel/package-lock.json b/packages/playwright-test/bundles/babel/package-lock.json
index 119a6c4767..36a78afc91 100644
--- a/packages/playwright-test/bundles/babel/package-lock.json
+++ b/packages/playwright-test/bundles/babel/package-lock.json
@@ -8,29 +8,43 @@
"name": "babel-bundle",
"version": "0.0.1",
"dependencies": {
- "@babel/code-frame": "7.16.7",
- "@babel/core": "7.16.12",
- "@babel/helper-plugin-utils": "7.16.7",
- "@babel/plugin-proposal-class-properties": "7.16.7",
- "@babel/plugin-proposal-dynamic-import": "7.16.7",
- "@babel/plugin-proposal-export-namespace-from": "7.16.7",
- "@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
- "@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
- "@babel/plugin-proposal-numeric-separator": "7.16.7",
- "@babel/plugin-proposal-optional-chaining": "7.16.7",
- "@babel/plugin-proposal-private-methods": "7.16.11",
- "@babel/plugin-proposal-private-property-in-object": "7.16.7",
- "@babel/plugin-syntax-async-generators": "7.8.4",
- "@babel/plugin-syntax-json-strings": "7.8.3",
- "@babel/plugin-syntax-object-rest-spread": "7.8.3",
- "@babel/plugin-syntax-optional-catch-binding": "7.8.3",
- "@babel/plugin-transform-modules-commonjs": "7.16.8",
- "@babel/preset-typescript": "7.16.7"
+ "@babel/code-frame": "^7.16.7",
+ "@babel/core": "^7.17.9",
+ "@babel/helper-plugin-utils": "^7.16.7",
+ "@babel/parser": "^7.17.9",
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
+ "@babel/plugin-proposal-dynamic-import": "^7.16.7",
+ "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
+ "@babel/plugin-proposal-numeric-separator": "^7.16.7",
+ "@babel/plugin-proposal-optional-chaining": "^7.16.7",
+ "@babel/plugin-proposal-private-methods": "^7.16.11",
+ "@babel/plugin-proposal-private-property-in-object": "^7.16.7",
+ "@babel/plugin-syntax-async-generators": "^7.8.4",
+ "@babel/plugin-syntax-json-strings": "^7.8.3",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
+ "@babel/plugin-transform-modules-commonjs": "^7.16.8",
+ "@babel/preset-typescript": "^7.16.7"
},
"devDependencies": {
"@types/babel__code-frame": "^7.0.3",
"@types/babel__core": "^7.1.18",
- "@types/babel__helper-plugin-utils": "^7.10.0"
+ "@types/babel__helper-plugin-utils": "^7.10.0",
+ "@types/babel__parser": "^7.1.1",
+ "@types/babel__traverse": "^7.17.0"
+ }
+ },
+ "node_modules/@ampproject/remapping": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz",
+ "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.0"
+ },
+ "engines": {
+ "node": ">=6.0.0"
}
},
"node_modules/@babel/code-frame": {
@@ -53,25 +67,25 @@
}
},
"node_modules/@babel/core": {
- "version": "7.16.12",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.12.tgz",
- "integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
+ "version": "7.17.9",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.9.tgz",
+ "integrity": "sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==",
"dependencies": {
+ "@ampproject/remapping": "^2.1.0",
"@babel/code-frame": "^7.16.7",
- "@babel/generator": "^7.16.8",
- "@babel/helper-compilation-targets": "^7.16.7",
- "@babel/helper-module-transforms": "^7.16.7",
- "@babel/helpers": "^7.16.7",
- "@babel/parser": "^7.16.12",
+ "@babel/generator": "^7.17.9",
+ "@babel/helper-compilation-targets": "^7.17.7",
+ "@babel/helper-module-transforms": "^7.17.7",
+ "@babel/helpers": "^7.17.9",
+ "@babel/parser": "^7.17.9",
"@babel/template": "^7.16.7",
- "@babel/traverse": "^7.16.10",
- "@babel/types": "^7.16.8",
+ "@babel/traverse": "^7.17.9",
+ "@babel/types": "^7.17.0",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
- "json5": "^2.1.2",
- "semver": "^6.3.0",
- "source-map": "^0.5.0"
+ "json5": "^2.2.1",
+ "semver": "^6.3.0"
},
"engines": {
"node": ">=6.9.0"
@@ -613,13 +627,13 @@
}
},
"node_modules/@babel/plugin-transform-modules-commonjs": {
- "version": "7.16.8",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz",
- "integrity": "sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==",
+ "version": "7.17.9",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.17.9.tgz",
+ "integrity": "sha512-2TBFd/r2I6VlYn0YRTz2JdazS+FoUuQ2rIFHoAxtyP/0G3D82SBLaRq9rnUkpqlLg03Byfl/+M32mpxjO6KaPw==",
"dependencies": {
- "@babel/helper-module-transforms": "^7.16.7",
+ "@babel/helper-module-transforms": "^7.17.7",
"@babel/helper-plugin-utils": "^7.16.7",
- "@babel/helper-simple-access": "^7.16.7",
+ "@babel/helper-simple-access": "^7.17.7",
"babel-plugin-dynamic-import-node": "^2.3.3"
},
"engines": {
@@ -706,6 +720,29 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz",
+ "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.11",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz",
+ "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg=="
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.6.tgz",
+ "integrity": "sha512-77SM8pt1g9Rll2TUoTndQ0NPQmNzBQAWm/KgORzyAsA/+e1sulS6ynxpCFStVQf4Mv9sePpz8p/7np+XVqZZiQ==",
+ "deprecated": "https://github.com/jridgewell/trace-mapping/issues/4",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "^3.0.3",
+ "@jridgewell/sourcemap-codec": "^1.4.10"
+ }
+ },
"node_modules/@types/babel__code-frame": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/@types/babel__code-frame/-/babel__code-frame-7.0.3.tgz",
@@ -743,6 +780,16 @@
"@types/babel__core": "*"
}
},
+ "node_modules/@types/babel__parser": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/@types/babel__parser/-/babel__parser-7.1.1.tgz",
+ "integrity": "sha512-baSzIb0QQOUQSglfR9gwXVSbHH91YvY00C9Zjq6E7sPdnp8oyPyUsonIj3SF4wUl0s96vR/kyWeVv30gmM/xZw==",
+ "deprecated": "Deprecated",
+ "dev": true,
+ "dependencies": {
+ "@babel/parser": "*"
+ }
+ },
"node_modules/@types/babel__template": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz",
@@ -902,9 +949,9 @@
}
},
"node_modules/electron-to-chromium": {
- "version": "1.4.111",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.111.tgz",
- "integrity": "sha512-/s3+fwhKf1YK4k7btOImOzCQLpUjS6MaPf0ODTNuT4eTM1Bg4itBpLkydhOzJmpmH6Z9eXFyuuK5czsmzRzwtw=="
+ "version": "1.4.114",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.114.tgz",
+ "integrity": "sha512-gRwLpVYWHGbERPU6o8pKfR168V6enWEXzZc6zQNNXbgJ7UJna+9qzAIHY94+9KOv71D/CH+QebLA9pChD2q8zA=="
},
"node_modules/escalade": {
"version": "3.1.1",
@@ -1106,6 +1153,14 @@
}
},
"dependencies": {
+ "@ampproject/remapping": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz",
+ "integrity": "sha512-hoyByceqwKirw7w3Z7gnIIZC3Wx3J484Y3L/cMpXFbr7d9ZQj2mODrirNzcJa+SM3UlpWXYvKV4RlRpFXlWgXg==",
+ "requires": {
+ "@jridgewell/trace-mapping": "^0.3.0"
+ }
+ },
"@babel/code-frame": {
"version": "7.16.7",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz",
@@ -1120,25 +1175,25 @@
"integrity": "sha512-p8pdE6j0a29TNGebNm7NzYZWB3xVZJBZ7XGs42uAKzQo8VQ3F0By/cQCtUEABwIqw5zo6WA4NbmxsfzADzMKnQ=="
},
"@babel/core": {
- "version": "7.16.12",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.12.tgz",
- "integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
+ "version": "7.17.9",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.9.tgz",
+ "integrity": "sha512-5ug+SfZCpDAkVp9SFIZAzlW18rlzsOcJGaetCjkySnrXXDUw9AR8cDUm1iByTmdWM6yxX6/zycaV76w3YTF2gw==",
"requires": {
+ "@ampproject/remapping": "^2.1.0",
"@babel/code-frame": "^7.16.7",
- "@babel/generator": "^7.16.8",
- "@babel/helper-compilation-targets": "^7.16.7",
- "@babel/helper-module-transforms": "^7.16.7",
- "@babel/helpers": "^7.16.7",
- "@babel/parser": "^7.16.12",
+ "@babel/generator": "^7.17.9",
+ "@babel/helper-compilation-targets": "^7.17.7",
+ "@babel/helper-module-transforms": "^7.17.7",
+ "@babel/helpers": "^7.17.9",
+ "@babel/parser": "^7.17.9",
"@babel/template": "^7.16.7",
- "@babel/traverse": "^7.16.10",
- "@babel/types": "^7.16.8",
+ "@babel/traverse": "^7.17.9",
+ "@babel/types": "^7.17.0",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.2",
- "json5": "^2.1.2",
- "semver": "^6.3.0",
- "source-map": "^0.5.0"
+ "json5": "^2.2.1",
+ "semver": "^6.3.0"
}
},
"@babel/generator": {
@@ -1505,13 +1560,13 @@
}
},
"@babel/plugin-transform-modules-commonjs": {
- "version": "7.16.8",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz",
- "integrity": "sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==",
+ "version": "7.17.9",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.17.9.tgz",
+ "integrity": "sha512-2TBFd/r2I6VlYn0YRTz2JdazS+FoUuQ2rIFHoAxtyP/0G3D82SBLaRq9rnUkpqlLg03Byfl/+M32mpxjO6KaPw==",
"requires": {
- "@babel/helper-module-transforms": "^7.16.7",
+ "@babel/helper-module-transforms": "^7.17.7",
"@babel/helper-plugin-utils": "^7.16.7",
- "@babel/helper-simple-access": "^7.16.7",
+ "@babel/helper-simple-access": "^7.17.7",
"babel-plugin-dynamic-import-node": "^2.3.3"
}
},
@@ -1571,6 +1626,25 @@
"to-fast-properties": "^2.0.0"
}
},
+ "@jridgewell/resolve-uri": {
+ "version": "3.0.5",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.5.tgz",
+ "integrity": "sha512-VPeQ7+wH0itvQxnG+lIzWgkysKIr3L9sslimFW55rHMdGu/qCQ5z5h9zq4gI8uBtqkpHhsF4Z/OwExufUCThew=="
+ },
+ "@jridgewell/sourcemap-codec": {
+ "version": "1.4.11",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz",
+ "integrity": "sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg=="
+ },
+ "@jridgewell/trace-mapping": {
+ "version": "0.3.6",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.6.tgz",
+ "integrity": "sha512-77SM8pt1g9Rll2TUoTndQ0NPQmNzBQAWm/KgORzyAsA/+e1sulS6ynxpCFStVQf4Mv9sePpz8p/7np+XVqZZiQ==",
+ "requires": {
+ "@jridgewell/resolve-uri": "^3.0.3",
+ "@jridgewell/sourcemap-codec": "^1.4.10"
+ }
+ },
"@types/babel__code-frame": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/@types/babel__code-frame/-/babel__code-frame-7.0.3.tgz",
@@ -1608,6 +1682,15 @@
"@types/babel__core": "*"
}
},
+ "@types/babel__parser": {
+ "version": "7.1.1",
+ "resolved": "https://registry.npmjs.org/@types/babel__parser/-/babel__parser-7.1.1.tgz",
+ "integrity": "sha512-baSzIb0QQOUQSglfR9gwXVSbHH91YvY00C9Zjq6E7sPdnp8oyPyUsonIj3SF4wUl0s96vR/kyWeVv30gmM/xZw==",
+ "dev": true,
+ "requires": {
+ "@babel/parser": "*"
+ }
+ },
"@types/babel__template": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.1.tgz",
@@ -1718,9 +1801,9 @@
}
},
"electron-to-chromium": {
- "version": "1.4.111",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.111.tgz",
- "integrity": "sha512-/s3+fwhKf1YK4k7btOImOzCQLpUjS6MaPf0ODTNuT4eTM1Bg4itBpLkydhOzJmpmH6Z9eXFyuuK5czsmzRzwtw=="
+ "version": "1.4.114",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.114.tgz",
+ "integrity": "sha512-gRwLpVYWHGbERPU6o8pKfR168V6enWEXzZc6zQNNXbgJ7UJna+9qzAIHY94+9KOv71D/CH+QebLA9pChD2q8zA=="
},
"escalade": {
"version": "3.1.1",
diff --git a/packages/playwright-test/bundles/babel/package.json b/packages/playwright-test/bundles/babel/package.json
index 254bed4810..75b8e92449 100644
--- a/packages/playwright-test/bundles/babel/package.json
+++ b/packages/playwright-test/bundles/babel/package.json
@@ -9,28 +9,31 @@
"generate-license": "node ../../../../utils/generate_third_party_notice.js"
},
"dependencies": {
- "@babel/code-frame": "7.16.7",
- "@babel/core": "7.16.12",
- "@babel/helper-plugin-utils": "7.16.7",
- "@babel/plugin-proposal-class-properties": "7.16.7",
- "@babel/plugin-proposal-dynamic-import": "7.16.7",
- "@babel/plugin-proposal-export-namespace-from": "7.16.7",
- "@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
- "@babel/plugin-proposal-nullish-coalescing-operator": "7.16.7",
- "@babel/plugin-proposal-numeric-separator": "7.16.7",
- "@babel/plugin-proposal-optional-chaining": "7.16.7",
- "@babel/plugin-proposal-private-methods": "7.16.11",
- "@babel/plugin-proposal-private-property-in-object": "7.16.7",
- "@babel/plugin-syntax-async-generators": "7.8.4",
- "@babel/plugin-syntax-json-strings": "7.8.3",
- "@babel/plugin-syntax-object-rest-spread": "7.8.3",
- "@babel/plugin-syntax-optional-catch-binding": "7.8.3",
- "@babel/plugin-transform-modules-commonjs": "7.16.8",
- "@babel/preset-typescript": "7.16.7"
+ "@babel/code-frame": "^7.16.7",
+ "@babel/core": "^7.17.9",
+ "@babel/helper-plugin-utils": "^7.16.7",
+ "@babel/parser": "^7.17.9",
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
+ "@babel/plugin-proposal-dynamic-import": "^7.16.7",
+ "@babel/plugin-proposal-export-namespace-from": "^7.16.7",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
+ "@babel/plugin-proposal-numeric-separator": "^7.16.7",
+ "@babel/plugin-proposal-optional-chaining": "^7.16.7",
+ "@babel/plugin-proposal-private-methods": "^7.16.11",
+ "@babel/plugin-proposal-private-property-in-object": "^7.16.7",
+ "@babel/plugin-syntax-async-generators": "^7.8.4",
+ "@babel/plugin-syntax-json-strings": "^7.8.3",
+ "@babel/plugin-syntax-object-rest-spread": "^7.8.3",
+ "@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
+ "@babel/plugin-transform-modules-commonjs": "^7.16.8",
+ "@babel/preset-typescript": "^7.16.7"
},
"devDependencies": {
"@types/babel__code-frame": "^7.0.3",
"@types/babel__core": "^7.1.18",
- "@types/babel__helper-plugin-utils": "^7.10.0"
+ "@types/babel__helper-plugin-utils": "^7.10.0",
+ "@types/babel__parser": "^7.1.1",
+ "@types/babel__traverse": "^7.17.0"
}
}
diff --git a/packages/playwright-test/bundles/babel/src/babelBundleImpl.ts b/packages/playwright-test/bundles/babel/src/babelBundleImpl.ts
index 12c3956054..b53a8dfb61 100644
--- a/packages/playwright-test/bundles/babel/src/babelBundleImpl.ts
+++ b/packages/playwright-test/bundles/babel/src/babelBundleImpl.ts
@@ -20,6 +20,9 @@ import * as babel from '@babel/core';
export { codeFrameColumns } from '@babel/code-frame';
export { declare } from '@babel/helper-plugin-utils';
export { types } from '@babel/core';
+export { parse } from '@babel/parser';
+import traverseFunction from '@babel/traverse';
+export const traverse = traverseFunction;
export function babelTransform(filename: string, isTypeScript: boolean, isModule: boolean, scriptPreprocessor: string | undefined, additionalPlugin: babel.PluginObj): BabelFileResult {
const plugins = [];
diff --git a/packages/playwright-test/package.json b/packages/playwright-test/package.json
index 88421ea0d5..f5292d4f10 100644
--- a/packages/playwright-test/package.json
+++ b/packages/playwright-test/package.json
@@ -15,10 +15,11 @@
},
"./cli": "./cli.js",
"./package.json": "./package.json",
+ "./lib/ci": "./lib/ci.js",
"./lib/cli": "./lib/cli.js",
"./lib/experimentalLoader": "./lib/experimentalLoader.js",
"./lib/mount": "./lib/mount.js",
- "./lib/ci": "./lib/ci.js",
+ "./lib/vitePlugin": "./lib/vitePlugin.js",
"./reporter": "./reporter.js"
},
"bin": {
diff --git a/packages/playwright-test/src/babelBundle.ts b/packages/playwright-test/src/babelBundle.ts
index 98efef336c..24105f99c1 100644
--- a/packages/playwright-test/src/babelBundle.ts
+++ b/packages/playwright-test/src/babelBundle.ts
@@ -18,6 +18,8 @@ import type { BabelFileResult } from '../bundles/babel/node_modules/@types/babel
export const codeFrameColumns: typeof import('../bundles/babel/node_modules/@types/babel__code-frame').codeFrameColumns = require('./babelBundleImpl').codeFrameColumns;
export const declare: typeof import('../bundles/babel/node_modules/@types/babel__helper-plugin-utils').declare = require('./babelBundleImpl').declare;
export const types: typeof import('../bundles/babel/node_modules/@types/babel__core').types = require('./babelBundleImpl').types;
+export const parse: typeof import('../bundles/babel/node_modules/@babel/parser').parse = require('./babelBundleImpl').parse;
+export const traverse: typeof import('../bundles/babel/node_modules/@types/babel__traverse').default = require('./babelBundleImpl').traverse;
export type BabelTransformFunction = (filename: string, isTypeScript: boolean, isModule: boolean, scriptPreprocessor: string | undefined, additionalPlugin: [string]) => BabelFileResult;
export const babelTransform: BabelTransformFunction = require('./babelBundleImpl').babelTransform;
export type { NodePath, types as T } from '../bundles/babel/node_modules/@types/babel__core';
diff --git a/packages/playwright-test/src/transform.ts b/packages/playwright-test/src/transform.ts
index cb6781280b..3a472a7812 100644
--- a/packages/playwright-test/src/transform.ts
+++ b/packages/playwright-test/src/transform.ts
@@ -26,7 +26,7 @@ import { tsConfigLoader } from './third_party/tsconfig-loader';
import Module from 'module';
import type { BabelTransformFunction } from './babelBundle';
-const version = 8;
+const version = 9;
const cacheDir = process.env.PWTEST_CACHE_DIR || path.join(os.tmpdir(), 'playwright-transform-cache');
const sourceMaps: Map = new Map();
diff --git a/packages/playwright-test/src/tsxTransform.ts b/packages/playwright-test/src/tsxTransform.ts
index 63e64eae8f..391f645101 100644
--- a/packages/playwright-test/src/tsxTransform.ts
+++ b/packages/playwright-test/src/tsxTransform.ts
@@ -14,10 +14,15 @@
* limitations under the License.
*/
-import type { NodePath, T, BabelAPI } from './babelBundle';
-import { types, declare } from './babelBundle';
+import path from 'path';
+import type { T, BabelAPI } from './babelBundle';
+import { types, declare, traverse } from './babelBundle';
const t: typeof T = types;
+const fullNames = new Map();
+let componentNames: Set;
+let componentIdentifiers: Set;
+
export default declare((api: BabelAPI) => {
api.assertVersion(7);
@@ -25,41 +30,40 @@ export default declare((api: BabelAPI) => {
name: 'playwright-debug-transform',
visitor: {
Program(path) {
- path.setData('pw-components', new Map());
+ fullNames.clear();
+ const result = collectComponentUsages(path.node);
+ componentNames = result.names;
+ componentIdentifiers = result.identifiers;
},
- ImportDeclaration(path) {
- // Non-JSX transform, replace
- // import Button from './ButtonVue.vue'
- // import { Card as MyCard } from './Card.vue'
- // with
- // const Button 'Button', MyCard = 'Card';
- const importNode = path.node;
- if (!t.isStringLiteral(importNode.source)) {
- flushConst(path, true);
+ ImportDeclaration(p) {
+ const importNode = p.node;
+ if (!t.isStringLiteral(importNode.source))
return;
- }
- if (!importNode.source.value.endsWith('.vue') && !importNode.source.value.endsWith('.svelte')) {
- flushConst(path, true);
- return;
- }
-
- const components = path.parentPath.getData('pw-components');
+ let remove = false;
for (const specifier of importNode.specifiers) {
- if (t.isImportDefaultSpecifier(specifier)) {
- components.set(specifier.local.name, specifier.local.name);
+ if (!componentNames.has(specifier.local.name))
continue;
- }
- if (t.isImportSpecifier(specifier)) {
- if (t.isIdentifier(specifier.imported))
- components.set(specifier.local.name, specifier.imported.name);
- else
- components.set(specifier.local.name, specifier.imported.value);
- }
+ if (t.isImportNamespaceSpecifier(specifier))
+ continue;
+ const { fullName } = componentInfo(specifier, importNode.source.value, this.filename!);
+ fullNames.set(specifier.local.name, fullName);
+ remove = true;
}
- flushConst(path, false);
+ // If one of the imports was a component, consider them all component imports.
+ if (remove) {
+ p.skip();
+ p.remove();
+ }
+ },
+
+ Identifier(p) {
+ if (componentIdentifiers.has(p.node)) {
+ const componentName = fullNames.get(p.node.name) || p.node.name;
+ p.replaceWith(t.stringLiteral(componentName));
+ }
},
JSXElement(path) {
@@ -68,7 +72,6 @@ export default declare((api: BabelAPI) => {
if (!t.isJSXIdentifier(jsxName))
return;
- const name = jsxName.name;
const props: (T.ObjectProperty | T.SpreadElement)[] = [];
for (const jsxAttribute of jsxElement.openingElement.attributes) {
@@ -107,9 +110,10 @@ export default declare((api: BabelAPI) => {
children.push(t.spreadElement(child.expression));
}
+ const componentName = fullNames.get(jsxName.name) || jsxName.name;
path.replaceWith(t.objectExpression([
t.objectProperty(t.identifier('kind'), t.stringLiteral('jsx')),
- t.objectProperty(t.identifier('type'), t.stringLiteral(name)),
+ t.objectProperty(t.identifier('type'), t.stringLiteral(componentName)),
t.objectProperty(t.identifier('props'), t.objectExpression(props)),
t.objectProperty(t.identifier('children'), t.arrayExpression(children)),
]));
@@ -119,25 +123,45 @@ export default declare((api: BabelAPI) => {
return result;
});
-function flushConst(importPath: NodePath, keepPath: boolean) {
- const importNode = importPath.node;
- const importNodes = (importPath.parentPath.node as T.Program).body.filter(i => t.isImportDeclaration(i));
- const isLast = importNodes.indexOf(importNode) === importNodes.length - 1;
- if (!isLast) {
- if (!keepPath)
- importPath.remove();
- return;
- }
+export function collectComponentUsages(node: T.Node) {
+ const names = new Set();
+ const identifiers = new Set();
+ traverse(node, {
+ enter: p => {
+ // Treat JSX-everything as component usages.
+ if (t.isJSXElement(p.node) && t.isJSXIdentifier(p.node.openingElement.name))
+ names.add(p.node.openingElement.name.name);
- const components = importPath.parentPath.getData('pw-components');
- if (!components.size)
- return;
- const variables = [];
- for (const [key, value] of components)
- variables.push(t.variableDeclarator(t.identifier(key), t.stringLiteral(value)));
- importPath.skip();
- if (keepPath)
- importPath.replaceWithMultiple([importNode, t.variableDeclaration('const', variables)]);
- else
- importPath.replaceWith(t.variableDeclaration('const', variables));
+ // Treat mount(identifier, ...) as component usage.
+ if (t.isAwaitExpression(p.node) && t.isCallExpression(p.node.argument) && t.isIdentifier(p.node.argument.callee) && p.node.argument.callee.name === 'mount') {
+ const callExpression = p.node.argument;
+ if (t.isIdentifier(callExpression.arguments[0])) {
+ names.add(callExpression.arguments[0].name);
+ identifiers.add(callExpression.arguments[0]);
+ }
+ }
+ }
+ });
+ return { names, identifiers };
+}
+
+export type ComponentInfo = {
+ fullName: string,
+ importPath: string,
+ isModuleOrAlias: boolean,
+ importedName?: string
+};
+
+export function componentInfo(specifier: T.ImportSpecifier | T.ImportDefaultSpecifier, importSource: string, filename: string): ComponentInfo {
+ const isModuleOrAlias = !importSource.startsWith('.');
+ const importPath = isModuleOrAlias ? importSource : path.resolve(path.dirname(filename), importSource);
+ const prefix = importPath.replace(/[^\w_\d]/g, '_');
+ const pathInfo = { importPath, isModuleOrAlias };
+
+ if (t.isImportDefaultSpecifier(specifier))
+ return { fullName: prefix, ...pathInfo };
+
+ if (t.isIdentifier(specifier.imported))
+ return { fullName: prefix + '_' + specifier.imported.name, importedName: specifier.imported.name, ...pathInfo };
+ return { fullName: prefix + '_' + specifier.imported.value, importedName: specifier.imported.value, ...pathInfo };
}
diff --git a/packages/playwright-test/src/vitePlugin.ts b/packages/playwright-test/src/vitePlugin.ts
new file mode 100644
index 0000000000..0c972a8129
--- /dev/null
+++ b/packages/playwright-test/src/vitePlugin.ts
@@ -0,0 +1,100 @@
+/**
+ * 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.
+ */
+
+import fs from 'fs';
+import path from 'path';
+import { glob } from 'playwright-core/lib/utilsBundle';
+import { parse, types as t, traverse } from './babelBundle';
+import type { Plugin } from 'vite';
+import { componentInfo, collectComponentUsages } from './tsxTransform';
+import type { ComponentInfo } from './tsxTransform';
+
+const imports: Map = new Map();
+let configDir: string;
+
+export function createVitePlugin(registerFunction: string) {
+ return (options?: { include: string, imports?: string[] }) => {
+ return vitePlugin({ ...(options || {}), registerFunction });
+ };
+}
+
+function vitePlugin(options: { include?: string, imports?: string[], registerFunction: string }): Plugin {
+ return {
+ name: 'playwright-gallery',
+
+ configResolved: async config => {
+ configDir = path.dirname(config.configFile || '');
+ const files = await new Promise((f, r) => {
+ glob(options.include || config.root + '/**/*.{test,spec}.[tj]s{x,}', {}, function(err, files) {
+ if (err)
+ r(err);
+ else
+ f(files);
+ });
+ });
+
+ for (const file of files) {
+ const text = await fs.promises.readFile(file, 'utf-8');
+ const ast = parse(text, { errorRecovery: true, plugins: ['typescript', 'jsx'], sourceType: 'module' });
+ const components = collectComponentUsages(ast);
+
+ traverse(ast, {
+ enter: p => {
+ if (t.isImportDeclaration(p.node)) {
+ const importNode = p.node;
+ if (!t.isStringLiteral(importNode.source))
+ return;
+
+ for (const specifier of importNode.specifiers) {
+ if (!components.names.has(specifier.local.name))
+ continue;
+ if (t.isImportNamespaceSpecifier(specifier))
+ continue;
+ const info = componentInfo(specifier, importNode.source.value, file);
+ imports.set(info.fullName, info);
+ }
+ }
+ }
+ });
+ }
+ },
+
+ transform: async (_, id) => {
+ if (!id.includes('playwright.app.ts') && !id.includes('playwright.app.js'))
+ return;
+
+ const folder = path.dirname(id);
+ const lines = [];
+ lines.push(`import register from '${options.registerFunction}';`);
+
+ for (const [alias, value] of imports) {
+ const importPath = value.isModuleOrAlias ? value.importPath : './' + path.relative(folder, value.importPath).replace(/\\/g, '/');
+ if (value.importedName)
+ lines.push(`import { ${value.importedName} as ${alias} } from '${importPath}';`);
+ else
+ lines.push(`import ${alias} from '${importPath}';`);
+ }
+
+ for (const i of options.imports || []) {
+ const importPath = configDir && i.startsWith('.') ? './' + path.relative(folder, path.resolve(configDir, i)).replace(/\\/g, '/') : i;
+ lines.push(`import '${importPath}';`);
+ }
+
+ lines.push(`register({ ${[...imports.keys()].join(',\n ')} });`);
+ return lines.join('\n');
+ },
+ };
+}
diff --git a/packages/web/.gitignore b/packages/web/.gitignore
new file mode 100644
index 0000000000..1521c8b765
--- /dev/null
+++ b/packages/web/.gitignore
@@ -0,0 +1 @@
+dist
diff --git a/packages/web/index.html b/packages/web/index.html
index 955ae936d9..03a9c0dcca 100644
--- a/packages/web/index.html
+++ b/packages/web/index.html
@@ -24,6 +24,5 @@
-