Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: bundle chokidar, leave fsevents as an optional dependency (#20762)
Dmitry Gozman190c121e6672
diff --git a/package-lock.json b/package-lock.jsonindex ca8f40f91f..bab3ee1bb1 100644--- a/package-lock.json+++ b/package-lock.json@@ -2037,6 +2037,7 @@},"node_modules/braces": {"version": "3.0.2",+ "dev": true,"license": "MIT","dependencies": {"fill-range": "^7.0.1"@@ -2170,6 +2171,7 @@"version": "3.5.3","resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz","integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",+ "dev": true,"funding": [{"type": "individual",@@ -2194,6 +2196,7 @@},"node_modules/chokidar/node_modules/anymatch": {"version": "3.1.2",+ "dev": true,"license": "ISC","dependencies": {"normalize-path": "^3.0.0",@@ -2205,6 +2208,7 @@},"node_modules/chokidar/node_modules/binary-extensions": {"version": "2.2.0",+ "dev": true,"license": "MIT","engines": {"node": ">=8"@@ -2212,6 +2216,7 @@},"node_modules/chokidar/node_modules/is-binary-path": {"version": "2.1.0",+ "dev": true,"license": "MIT","dependencies": {"binary-extensions": "^2.0.0"@@ -3517,6 +3522,7 @@},"node_modules/fill-range": {"version": "7.0.1",+ "dev": true,"license": "MIT","dependencies": {"to-regex-range": "^5.0.1"@@ -3671,6 +3677,7 @@},"node_modules/glob-parent": {"version": "5.1.2",+ "dev": true,"license": "ISC","dependencies": {"is-glob": "^4.0.1"@@ -3937,6 +3944,7 @@},"node_modules/is-extglob": {"version": "2.1.1",+ "dev": true,"license": "MIT","engines": {"node": ">=0.10.0"@@ -3952,6 +3960,7 @@},"node_modules/is-glob": {"version": "4.0.3",+ "dev": true,"license": "MIT","dependencies": {"is-extglob": "^2.1.1"@@ -3962,6 +3971,7 @@},"node_modules/is-number": {"version": "7.0.0",+ "dev": true,"license": "MIT","engines": {"node": ">=0.12.0"@@ -4410,6 +4420,7 @@},"node_modules/normalize-path": {"version": "3.0.0",+ "dev": true,"license": "MIT","engines": {"node": ">=0.10.0"@@ -4592,6 +4603,7 @@},"node_modules/picomatch": {"version": "2.2.3",+ "dev": true,"license": "MIT","engines": {"node": ">=8.6"@@ -4865,6 +4877,7 @@},"node_modules/readdirp": {"version": "3.6.0",+ "dev": true,"license": "MIT","dependencies": {"picomatch": "^2.2.1"@@ -5385,6 +5398,7 @@},"node_modules/to-regex-range": {"version": "5.0.1",+ "dev": true,"license": "MIT","dependencies": {"is-number": "^7.0.0"@@ -6078,7 +6092,6 @@"license": "Apache-2.0","dependencies": {"@types/node": "*",- "chokidar": "3.5.3","playwright-core": "1.31.0-next"},"bin": {@@ -6086,6 +6099,9 @@},"engines": {"node": ">=14"+ },+ "optionalDependencies": {+ "fsevents": "2.3.2"}},"packages/playwright-webkit": {@@ -6923,7 +6939,7 @@"version": "file:packages/playwright-test","requires": {"@types/node": "*",- "chokidar": "3.5.3",+ "fsevents": "2.3.2","playwright-core": "1.31.0-next"}},@@ -7416,6 +7432,7 @@},"braces": {"version": "3.0.2",+ "dev": true,"requires": {"fill-range": "^7.0.1"}@@ -7493,6 +7510,7 @@"version": "3.5.3","resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz","integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",+ "dev": true,"requires": {"anymatch": "~3.1.2","braces": "~3.0.2",@@ -7506,16 +7524,19 @@"dependencies": {"anymatch": {"version": "3.1.2",+ "dev": true,"requires": {"normalize-path": "^3.0.0","picomatch": "^2.0.4"}},"binary-extensions": {- "version": "2.2.0"+ "version": "2.2.0",+ "dev": true},"is-binary-path": {"version": "2.1.0",+ "dev": true,"requires": {"binary-extensions": "^2.0.0"}@@ -8314,6 +8335,7 @@},"fill-range": {"version": "7.0.1",+ "dev": true,"requires": {"to-regex-range": "^5.0.1"}@@ -8415,6 +8437,7 @@},"glob-parent": {"version": "5.1.2",+ "dev": true,"requires": {"is-glob": "^4.0.1"}@@ -8593,7 +8616,8 @@}},"is-extglob": {- "version": "2.1.1"+ "version": "2.1.1",+ "dev": true},"is-fullwidth-code-point": {"version": "3.0.0",@@ -8601,12 +8625,14 @@},"is-glob": {"version": "4.0.3",+ "dev": true,"requires": {"is-extglob": "^2.1.1"}},"is-number": {- "version": "7.0.0"+ "version": "7.0.0",+ "dev": true},"is-what": {"version": "4.1.8",@@ -8897,7 +8923,8 @@}},"normalize-path": {- "version": "3.0.0"+ "version": "3.0.0",+ "dev": true},"normalize-url": {"version": "4.5.1",@@ -9013,7 +9040,8 @@"version": "1.0.0"},"picomatch": {- "version": "2.2.3"+ "version": "2.2.3",+ "dev": true},"pify": {"version": "4.0.1",@@ -9199,6 +9227,7 @@},"readdirp": {"version": "3.6.0",+ "dev": true,"requires": {"picomatch": "^2.2.1"}@@ -9526,6 +9555,7 @@},"to-regex-range": {"version": "5.0.1",+ "dev": true,"requires": {"is-number": "^7.0.0"}diff --git a/packages/playwright-test/ThirdPartyNotices.txt b/packages/playwright-test/ThirdPartyNotices.txtindex 90f46a0a2b..6f0e1d4565 100644--- a/packages/playwright-test/ThirdPartyNotices.txt+++ b/packages/playwright-test/ThirdPartyNotices.txt@@ -79,12 +79,15 @@ This project incorporates components from the projects listed below. The origina- [email protected] (https://github.com/chalk/ansi-styles)- [email protected] (https://github.com/chalk/ansi-styles)- [email protected] (https://github.com/chalk/ansi-styles)+- [email protected] (https://github.com/micromatch/anymatch)+- [email protected] (https://github.com/sindresorhus/binary-extensions)- [email protected] (https://github.com/micromatch/braces)- [email protected] (https://github.com/browserslist/browserslist)- [email protected] (https://github.com/LinusU/buffer-from)- [email protected] (https://github.com/browserslist/caniuse-lite)- [email protected] (https://github.com/chalk/chalk)- [email protected] (https://github.com/chalk/chalk)+- [email protected] (https://github.com/paulmillr/chokidar)- [email protected] (https://github.com/codemirror/CodeMirror)- [email protected] (https://github.com/Qix-/color-convert)- [email protected] (https://github.com/Qix-/color-convert)@@ -102,11 +105,15 @@ This project incorporates components from the projects listed below. The origina- [email protected] (https://github.com/facebook/jest)- [email protected] (https://github.com/jonschlinkert/fill-range)- [email protected] (https://github.com/loganfsmyth/gensync)+- [email protected] (https://github.com/gulpjs/glob-parent)- [email protected] (https://github.com/sindresorhus/globals)- [email protected] (https://github.com/isaacs/node-graceful-fs)- [email protected] (https://github.com/sindresorhus/has-flag)- [email protected] (https://github.com/sindresorhus/has-flag)+- [email protected] (https://github.com/sindresorhus/is-binary-path)- [email protected] (https://github.com/sindresorhus/is-docker)+- [email protected] (https://github.com/jonschlinkert/is-extglob)+- [email protected] (https://github.com/micromatch/is-glob)- [email protected] (https://github.com/jonschlinkert/is-number)- [email protected] (https://github.com/sindresorhus/is-wsl)- [email protected] (https://github.com/facebook/jest)@@ -120,12 +127,14 @@ This project incorporates components from the projects listed below. The origina- [email protected] (https://github.com/micromatch/micromatch)- [email protected] (https://github.com/zeit/ms)- [email protected] (https://github.com/chicoxyzzy/node-releases)+- [email protected] (https://github.com/jonschlinkert/normalize-path)- [email protected] (https://github.com/sindresorhus/open)- [email protected] (https://github.com/alexeyraspopov/picocolors)- [email protected] (https://github.com/micromatch/picomatch)- [email protected] (https://github.com/danez/pirates)- [email protected] (https://github.com/facebook/jest)- [email protected] (https://github.com/facebook/react)+- [email protected] (https://github.com/paulmillr/readdirp)- [email protected] (https://github.com/feross/safe-buffer)- [email protected] (https://github.com/npm/node-semver)- [email protected] (https://github.com/sindresorhus/slash)@@ -2263,6 +2272,40 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI=========================================END OF [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+The ISC License++Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)++Permission to use, copy, modify, and/or distribute this software for any+purpose with or without fee is hereby granted, provided that the above+copyright notice and this permission notice appear in all copies.++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 [email protected] AND INFORMATION++%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+MIT License++Copyright (c) 2019 Sindre Sorhus <[email protected]> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)++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 [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE=========================================The MIT License (MIT)@@ -2768,6 +2811,32 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI=========================================END OF [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+The MIT License (MIT)++Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker++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 [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE=========================================MIT License@@ -3116,6 +3185,26 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI=========================================END OF [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+The ISC License++Copyright (c) 2015, 2019 Elan Shanker++Permission to use, copy, modify, and/or distribute this software for any+purpose with or without fee is hereby granted, provided that the above+copyright notice and this permission notice appear in all copies.++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 [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE=========================================MIT License@@ -3178,6 +3267,20 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI=========================================END OF [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+MIT License++Copyright (c) 2019 Sindre Sorhus <[email protected]> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)++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 [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE=========================================MIT License@@ -3192,6 +3295,58 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI=========================================END OF [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+The MIT License (MIT)++Copyright (c) 2014-2016, Jon Schlinkert++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 [email protected] AND INFORMATION++%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+The MIT License (MIT)++Copyright (c) 2014-2017, Jon Schlinkert.++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 [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE=========================================The MIT License (MIT)@@ -3519,6 +3674,32 @@ THE SOFTWARE.=========================================END OF [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+The MIT License (MIT)++Copyright (c) 2014-2018, Jon Schlinkert.++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 [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE=========================================MIT License@@ -3657,6 +3838,32 @@ SOFTWARE.=========================================END OF [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE+=========================================+MIT License++Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com)++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 [email protected] AND INFORMATION+%% [email protected] NOTICES AND INFORMATION BEGIN HERE=========================================The MIT License (MIT)@@ -3923,6 +4130,6 @@ END OF [email protected] AND INFORMATIONSUMMARY BEGIN HERE=========================================-Total Packages: 134+Total Packages: 143=========================================END OF SUMMARY\ No newline at end of filediff --git a/packages/playwright-test/bundles/utils/build.js b/packages/playwright-test/bundles/utils/build.jsindex df76188218..6cac01594b 100644--- a/packages/playwright-test/bundles/utils/build.js+++ b/packages/playwright-test/bundles/utils/build.js@@ -40,6 +40,7 @@ let patchSource = {esbuild.build({entryPoints: [path.join(__dirname, 'src/utilsBundleImpl.ts')],+ external: ['fsevents'],bundle: true,outdir: path.join(__dirname, '../../lib'),plugins: [patchSource],diff --git a/packages/playwright-test/bundles/utils/package-lock.json b/packages/playwright-test/bundles/utils/package-lock.jsonindex 2a45d18e30..31d62ac5dc 100644--- a/packages/playwright-test/bundles/utils/package-lock.json+++ b/packages/playwright-test/bundles/utils/package-lock.json@@ -8,12 +8,13 @@"name": "utils-bundle","version": "0.0.1","dependencies": {- "enquirer": "^2.3.6",+ "chokidar": "3.5.3",+ "enquirer": "2.3.6","json5": "2.2.3","open": "8.4.0","pirates": "4.0.4","source-map-support": "0.5.21",- "stoppable": "^1.1.0"+ "stoppable": "1.1.0"},"devDependencies": {"@types/source-map-support": "^0.5.4",@@ -52,11 +53,68 @@"node": ">=6"}},+ "node_modules/anymatch": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",+ "dependencies": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/binary-extensions": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",+ "dependencies": {+ "fill-range": "^7.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/buffer-from": {"version": "1.1.2","resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz","integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="},+ "node_modules/chokidar": {+ "version": "3.5.3",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",+ "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",+ "funding": [+ {+ "type": "individual",+ "url": "https://paulmillr.com/funding/"+ }+ ],+ "dependencies": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ },+ "engines": {+ "node": ">= 8.10.0"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.2"+ }+ },"node_modules/define-lazy-prop": {"version": "2.0.0","resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",@@ -76,6 +134,52 @@"node": ">=8.6"}},+ "node_modules/fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",+ "dependencies": {+ "to-regex-range": "^5.0.1"+ },+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/fsevents": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",+ "hasInstallScript": true,+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"+ }+ },+ "node_modules/glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "dependencies": {+ "is-glob": "^4.0.1"+ },+ "engines": {+ "node": ">= 6"+ }+ },+ "node_modules/is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "dependencies": {+ "binary-extensions": "^2.0.0"+ },+ "engines": {+ "node": ">=8"+ }+ },"node_modules/is-docker": {"version": "2.2.1","resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",@@ -90,6 +194,33 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-glob": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",+ "dependencies": {+ "is-extglob": "^2.1.1"+ },+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",+ "engines": {+ "node": ">=0.12.0"+ }+ },"node_modules/is-wsl": {"version": "2.2.0","resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",@@ -112,6 +243,14 @@"node": ">=6"}},+ "node_modules/normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "engines": {+ "node": ">=0.10.0"+ }+ },"node_modules/open": {"version": "8.4.0","resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz",@@ -128,6 +267,17 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/picomatch": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",+ "engines": {+ "node": ">=8.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"+ }+ },"node_modules/pirates": {"version": "4.0.4","resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.4.tgz",@@ -136,6 +286,17 @@"node": ">= 6"}},+ "node_modules/readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "dependencies": {+ "picomatch": "^2.2.1"+ },+ "engines": {+ "node": ">=8.10.0"+ }+ },"node_modules/source-map": {"version": "0.6.1","resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",@@ -161,6 +322,17 @@"node": ">=4","npm": ">=6"}+ },+ "node_modules/to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "dependencies": {+ "is-number": "^7.0.0"+ },+ "engines": {+ "node": ">=8.0"+ }}},"dependencies": {@@ -193,11 +365,48 @@"resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz","integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw=="},+ "anymatch": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",+ "requires": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ }+ },+ "binary-extensions": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="+ },+ "braces": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",+ "requires": {+ "fill-range": "^7.0.1"+ }+ },"buffer-from": {"version": "1.1.2","resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz","integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ=="},+ "chokidar": {+ "version": "3.5.3",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",+ "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",+ "requires": {+ "anymatch": "~3.1.2",+ "braces": "~3.0.2",+ "fsevents": "~2.3.2",+ "glob-parent": "~5.1.2",+ "is-binary-path": "~2.1.0",+ "is-glob": "~4.0.1",+ "normalize-path": "~3.0.0",+ "readdirp": "~3.6.0"+ }+ },"define-lazy-prop": {"version": "2.0.0","resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",@@ -211,11 +420,59 @@"ansi-colors": "^4.1.1"}},+ "fill-range": {+ "version": "7.0.1",+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",+ "requires": {+ "to-regex-range": "^5.0.1"+ }+ },+ "fsevents": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",+ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",+ "optional": true+ },+ "glob-parent": {+ "version": "5.1.2",+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",+ "requires": {+ "is-glob": "^4.0.1"+ }+ },+ "is-binary-path": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",+ "requires": {+ "binary-extensions": "^2.0.0"+ }+ },"is-docker": {"version": "2.2.1","resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz","integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ=="},+ "is-extglob": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="+ },+ "is-glob": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",+ "requires": {+ "is-extglob": "^2.1.1"+ }+ },+ "is-number": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="+ },"is-wsl": {"version": "2.2.0","resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",@@ -229,6 +486,11 @@"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz","integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="},+ "normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="+ },"open": {"version": "8.4.0","resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz",@@ -239,11 +501,24 @@"is-wsl": "^2.2.0"}},+ "picomatch": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="+ },"pirates": {"version": "4.0.4","resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.4.tgz","integrity": "sha512-ZIrVPH+A52Dw84R0L3/VS9Op04PuQ2SEoJL6bkshmiTic/HldyW9Tf7oH5mhJZBK7NmDx27vSMrYEXPXclpDKw=="},+ "readdirp": {+ "version": "3.6.0",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",+ "requires": {+ "picomatch": "^2.2.1"+ }+ },"source-map": {"version": "0.6.1","resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",@@ -262,6 +537,14 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz","integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw=="+ },+ "to-regex-range": {+ "version": "5.0.1",+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",+ "requires": {+ "is-number": "^7.0.0"+ }}}}diff --git a/packages/playwright-test/bundles/utils/package.json b/packages/playwright-test/bundles/utils/package.jsonindex d4ab80e3e1..58a00bb70a 100644--- a/packages/playwright-test/bundles/utils/package.json+++ b/packages/playwright-test/bundles/utils/package.json@@ -9,12 +9,13 @@"generate-license": "node ../../../../utils/generate_third_party_notice.js"},"dependencies": {- "enquirer": "^2.3.6",+ "chokidar": "3.5.3",+ "enquirer": "2.3.6","json5": "2.2.3","open": "8.4.0","pirates": "4.0.4","source-map-support": "0.5.21",- "stoppable": "^1.1.0"+ "stoppable": "1.1.0"},"devDependencies": {"@types/source-map-support": "^0.5.4",diff --git a/packages/playwright-test/bundles/utils/src/utilsBundleImpl.ts b/packages/playwright-test/bundles/utils/src/utilsBundleImpl.tsindex f40095b16c..f934bdf137 100644--- a/packages/playwright-test/bundles/utils/src/utilsBundleImpl.ts+++ b/packages/playwright-test/bundles/utils/src/utilsBundleImpl.ts@@ -31,3 +31,6 @@ export const stoppable = stoppableLibrary;import enquirerLibrary from 'enquirer';export const enquirer = enquirerLibrary;++import chokidarLibrary from 'chokidar';+export const chokidar = chokidarLibrary;diff --git a/packages/playwright-test/package.json b/packages/playwright-test/package.jsonindex 1f0c2b86b3..4a7309952e 100644--- a/packages/playwright-test/package.json+++ b/packages/playwright-test/package.json@@ -34,7 +34,9 @@"license": "Apache-2.0","dependencies": {"@types/node": "*",- "chokidar": "3.5.3","playwright-core": "1.31.0-next"+ },+ "optionalDependencies": {+ "fsevents": "2.3.2"}}diff --git a/packages/playwright-test/src/runner/watchMode.ts b/packages/playwright-test/src/runner/watchMode.tsindex eccf1fb3fa..557495df2d 100644--- a/packages/playwright-test/src/runner/watchMode.ts+++ b/packages/playwright-test/src/runner/watchMode.ts@@ -25,7 +25,7 @@ import type { TaskRunnerState } from './tasks';import { buildProjectsClosure, filterProjects } from './projectUtils';import { clearCompilationCache, collectAffectedTestFiles } from '../common/compilationCache';import type { FullResult } from 'packages/playwright-test/reporter';-import chokidar from 'chokidar';+import { chokidar } from '../utilsBundle';import { createReporter } from './reporters';import { colors } from 'playwright-core/lib/utilsBundle';import { enquirer } from '../utilsBundle';diff --git a/packages/playwright-test/src/utilsBundle.ts b/packages/playwright-test/src/utilsBundle.tsindex 7f43650b82..dac8bc1d3f 100644--- a/packages/playwright-test/src/utilsBundle.ts+++ b/packages/playwright-test/src/utilsBundle.ts@@ -20,3 +20,4 @@ export const pirates: typeof import('../bundles/utils/node_modules/pirates') = rexport const sourceMapSupport: typeof import('../bundles/utils/node_modules/@types/source-map-support') = require('./utilsBundleImpl').sourceMapSupport;export const stoppable: typeof import('../bundles/utils/node_modules/@types/stoppable') = require('./utilsBundleImpl').stoppable;export const enquirer: typeof import('../bundles/utils/node_modules/enquirer') = require('./utilsBundleImpl').enquirer;+export const chokidar: typeof import('../bundles/utils/node_modules/chokidar') = require('./utilsBundleImpl').chokidar;diff --git a/utils/build/build.js b/utils/build/build.jsindex 3773e6d06f..1a159ef7de 100644--- a/utils/build/build.js+++ b/utils/build/build.js@@ -200,7 +200,7 @@ steps.push({for (const bundle of bundles) {steps.push({command: 'npm',- args: ['ci', '--save=false', '--fund=false', '--audit=false'],+ args: ['ci', '--save=false', '--fund=false', '--audit=false', '--omit=optional'],shell: true,cwd: bundle,});diff --git a/utils/generate_third_party_notice.js b/utils/generate_third_party_notice.jsindex 0317d7f8b8..6ba2f451b9 100644--- a/utils/generate_third_party_notice.js+++ b/utils/generate_third_party_notice.js@@ -65,7 +65,8 @@ This project incorporates components from the projects listed below. The originaallPackages[key] = value;}- const keys = Object.keys(allPackages).sort();+ // fsevents is a darwin-only dependency that we do not bundle.+ const keys = Object.keys(allPackages).sort().filter(key => !key.startsWith('fsevents@'));for (const key of keys)lines.push(`-\t${key} (${allPackages[key].repository})`);