pi-lean-dimension 0.2.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/node_modules/pi-lean-portal/AGENTS.md +15 -23
- package/node_modules/pi-lean-portal/README.md +31 -1
- package/node_modules/pi-lean-portal/__tests__/browser-toggle-profile.test.ts +12 -1
- package/node_modules/pi-lean-portal/__tests__/browser-toggle.test.ts +263 -1102
- package/node_modules/pi-lean-portal/__tests__/fetch-backend.test.ts +6 -32
- package/node_modules/pi-lean-portal/__tests__/helpers/mock-python-bridge.py +1 -1
- package/node_modules/pi-lean-portal/__tests__/helpers/probe-user-backend.ts +1 -2
- package/node_modules/pi-lean-portal/__tests__/helpers/setup-temp-dir.ts +26 -0
- package/node_modules/pi-lean-portal/__tests__/plugin-config-browser.test.ts +1 -1
- package/node_modules/pi-lean-portal/__tests__/plugin-contract.test.ts +1 -1
- package/node_modules/pi-lean-portal/__tests__/plugin-loading.test.ts +1 -1
- package/node_modules/pi-lean-portal/__tests__/probe-user-backend.test.ts +1 -1
- package/node_modules/pi-lean-portal/__tests__/python-adapter.test.ts +65 -69
- package/node_modules/pi-lean-portal/__tests__/router-dispatch.test.ts +1 -14
- package/node_modules/pi-lean-portal/__tests__/run-contributed-suites.test.ts +31 -16
- package/node_modules/pi-lean-portal/__tests__/snapshot-cache.test.ts +1 -1
- package/node_modules/pi-lean-portal/__tests__/web-guides.test.ts +146 -19
- package/node_modules/pi-lean-portal/backends/chromium-py/__pycache__/bridge.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/firefox-py/__pycache__/bridge.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/playwright-base/playwright-plugin.ts +1 -1
- package/node_modules/pi-lean-portal/backends/python-adapter.ts +3 -3
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__init__.py +2 -4
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__pycache__/__init__.cpython-312.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__pycache__/__init__.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__pycache__/bridge.cpython-312.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__pycache__/playwright_base.cpython-312.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__pycache__/playwright_base.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/playwright_base.py +572 -81
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/conftest.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_accessibility.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_bot_detection.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_browser_data.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_playwright_base_quirks.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_py_bridges.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/test_playwright_base_quirks.py +13 -43
- package/node_modules/pi-lean-portal/browser-profile.ts +2 -3
- package/node_modules/pi-lean-portal/browser-toggle.ts +168 -380
- package/node_modules/pi-lean-portal/contributed/CHOOSING.md +2 -2
- package/node_modules/pi-lean-portal/contributed/README.md +65 -6
- package/node_modules/pi-lean-portal/contributed/camoufox-py/__pycache__/bridge.cpython-312.pyc +0 -0
- package/node_modules/pi-lean-portal/contributed/camoufox-py/bridge.py +108 -14
- package/node_modules/pi-lean-portal/contributed/camoufox-py/pin.json +4 -0
- package/node_modules/pi-lean-portal/contributed/invisible-py/bridge.py +1 -1
- package/node_modules/pi-lean-portal/core/fetch-backend.ts +10 -30
- package/node_modules/pi-lean-portal/core/guides.ts +14 -18
- package/node_modules/pi-lean-portal/core/router.ts +2 -20
- package/node_modules/pi-lean-portal/core/shared/bot-detection.ts +19 -30
- package/node_modules/pi-lean-portal/core/shared/browser-data.ts +4 -4
- package/node_modules/pi-lean-portal/core/shared/nav-settle.ts +2 -2
- package/node_modules/pi-lean-portal/core/shared/paths.ts +16 -2
- package/node_modules/pi-lean-portal/core/shared/settings-reader.ts +2 -7
- package/node_modules/pi-lean-portal/core/shared/snapshot-cache.ts +1 -1
- package/node_modules/pi-lean-portal/index.ts +8 -1
- package/node_modules/pi-lean-portal/package.json +2 -1
- package/node_modules/pi-lean-portal/tools/web-learn.ts +1 -4
- package/node_modules/pi-lean-search/__tests__/web-search.test.ts +87 -0
- package/node_modules/pi-lean-search/index.ts +134 -64
- package/node_modules/pi-lean-search/package.json +2 -1
- package/node_modules/playwright/README.md +3 -3
- package/node_modules/playwright/lib/agents/copilot-setup-steps.yml +2 -2
- package/node_modules/playwright/lib/cli/reportActions.js +2 -2
- package/node_modules/playwright/lib/common/index.js +77 -52
- package/node_modules/playwright/lib/common/index.js.txt +10 -11
- package/node_modules/playwright/lib/errorContext.js +2 -3
- package/node_modules/playwright/lib/index.js +30 -8
- package/node_modules/playwright/lib/matchers/expect.js +4811 -4379
- package/node_modules/playwright/lib/matchers/expect.js.LICENSE +87 -140
- package/node_modules/playwright/lib/matchers/expect.js.txt +30 -35
- package/node_modules/playwright/lib/program.js +19 -0
- package/node_modules/playwright/lib/runner/index.js +309 -153
- package/node_modules/playwright/lib/runner/index.js.txt +13 -12
- package/node_modules/playwright/lib/transform/babelBundle.js +12899 -11654
- package/node_modules/playwright/lib/transform/babelBundle.js.LICENSE +379 -354
- package/node_modules/playwright/lib/transform/babelBundle.js.txt +39 -39
- package/node_modules/playwright/lib/transform/esmLoader.js +3129 -1116
- package/node_modules/playwright/lib/transform/esmLoader.js.LICENSE +81 -61
- package/node_modules/playwright/lib/transform/esmLoader.js.txt +21 -18
- package/node_modules/playwright/lib/util.js +2 -29
- package/node_modules/playwright/lib/worker/workerProcessEntry.js +14 -32
- package/node_modules/playwright/lib/worker/workerProcessEntry.js.txt +7 -8
- package/node_modules/playwright/package.json +3 -6
- package/node_modules/playwright/types/test.d.ts +391 -4
- package/node_modules/playwright/types/testReporter.d.ts +79 -4
- package/node_modules/playwright-core/browsers.json +12 -18
- package/node_modules/playwright-core/lib/bootstrap.js +1 -1
- package/node_modules/playwright-core/lib/coreBundle.js +11344 -9900
- package/node_modules/playwright-core/lib/server/electron/loader.js +5 -2
- package/node_modules/playwright-core/lib/serverRegistry.js +5 -1
- package/node_modules/playwright-core/lib/tools/cli-client/help.json +21 -6
- package/node_modules/playwright-core/lib/tools/cli-client/program.js +1 -1
- package/node_modules/playwright-core/lib/tools/cli-client/session.js +4 -0
- package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/SKILL.md +21 -5
- package/node_modules/playwright-core/lib/tools/{cli-client/skill/references/spec-driven-testing.md → skills/playwright-cli/references/test-generation.md} +135 -7
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/SKILL.md +143 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/gallery-spec.md +144 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/migration.md +85 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/react.md +67 -0
- package/node_modules/playwright-core/lib/tools/skills/playwright-component-testing/references/vue.md +75 -0
- package/node_modules/playwright-core/lib/tools/utils/extension.js +31 -8
- package/node_modules/playwright-core/lib/utilsBundle.js +37698 -33670
- package/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +391 -268
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-CyWAfh-p.js +11 -0
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-DhC616m4.css +1 -0
- package/node_modules/playwright-core/lib/vite/dashboard/index.html +2 -2
- package/node_modules/playwright-core/lib/vite/htmlReport/report.css +2 -1
- package/node_modules/playwright-core/lib/vite/htmlReport/report.js +15 -55
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule--QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-CwYYHbcZ.js +32 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-DYjdXIbE.js +129 -0
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-l_lX622x.css +1 -0
- package/node_modules/playwright-core/lib/vite/recorder/index.html +2 -2
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-By56iMx7.js +32 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-B34OrIms.js +181 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-L3liM589.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-COQkjINf.js +7 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.-QdMvsKi.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.BLFoOugd.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.B_TqY17P.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.Dl36UVQT.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/index.html +5 -5
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.B_Jk1wbt.js +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +2 -2
- package/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +3 -4
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.C7UW1sC9.css +1 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.D962mr9b.js +5 -0
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +5 -5
- package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.kHJ-D0s7.css +1 -0
- package/node_modules/playwright-core/lib/webp_codec.LICENSE +173 -0
- package/node_modules/playwright-core/lib/webp_codec.wasm +0 -0
- package/node_modules/playwright-core/lib/xdg-open +338 -137
- package/node_modules/playwright-core/package.json +2 -2
- package/node_modules/playwright-core/types/protocol.d.ts +249 -36
- package/node_modules/playwright-core/types/structs.d.ts +3 -1
- package/node_modules/playwright-core/types/types.d.ts +2009 -266
- package/package.json +3 -3
- package/node_modules/pi-lean-portal/__tests__/url-safety.test.ts +0 -188
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__pycache__/bridge.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/__pycache__/patch_playwright.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/pi_browser_bridge/bridge.py +0 -525
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_accessibility.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_bot_detection.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_browser_data.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_chromium_py_bridge.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_firefox_py_bridge.cpython-313-pytest-9.1.1.pyc +0 -0
- package/node_modules/pi-lean-portal/backends/python-base/tests/__pycache__/test_playwright_base_quirks.cpython-313.pyc +0 -0
- package/node_modules/pi-lean-portal/core/shared/url-safety.ts +0 -164
- package/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +0 -2739
- package/node_modules/playwright-core/lib/tools/cli-client/skill/references/test-generation.md +0 -134
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-BY2S1tHT.css +0 -1
- package/node_modules/playwright-core/lib/vite/dashboard/assets/index-C_5TMfeg.js +0 -52
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +0 -1
- package/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DeBYQozu.js +0 -32
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-4ZiSSCmn.css +0 -1
- package/node_modules/playwright-core/lib/vite/recorder/assets/index-Bq-mQf8S.js +0 -193
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-LEHpjmcn.js +0 -32
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BNmKHKpQ.js +0 -264
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-BYQrIQwR.js +0 -1
- package/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
- package/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +0 -1
- package/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.CjdS-WJx.css +0 -1
- package/node_modules/playwright-core/lib/vite/traceViewer/index.CzXZzn5A.css +0 -1
- package/node_modules/playwright-core/lib/vite/traceViewer/index.DMMX1gXU.js +0 -2
- package/node_modules/playwright-core/lib/vite/traceViewer/snapshot.v8KI4P3m.js +0 -2
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.BZQ54Kgt.css +0 -1
- package/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Ut8wwJNp.js +0 -6
- package/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/element-attributes.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/playwright-tests.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/request-mocking.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/running-code.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/session-management.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/storage-state.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/tracing.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{cli-client/skill → skills/playwright-cli}/references/video-recording.md +0 -0
- /package/node_modules/playwright-core/lib/tools/{trace → skills/playwright-trace}/SKILL.md +0 -0
|
@@ -4,25 +4,26 @@ THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
|
|
|
4
4
|
|
|
5
5
|
The following npm packages are inlined into this bundle.
|
|
6
6
|
|
|
7
|
-
- balanced-match@
|
|
8
|
-
- brace-expansion@
|
|
7
|
+
- balanced-match@4.0.4 (https://github.com/juliangruber/balanced-match)
|
|
8
|
+
- brace-expansion@5.0.7 (https://github.com/juliangruber/brace-expansion)
|
|
9
9
|
- buffer-from@1.1.2 (https://github.com/LinusU/buffer-from)
|
|
10
|
-
- concat-map@0.0.1 (https://github.com/substack/node-concat-map)
|
|
11
10
|
- debug@4.4.3 (https://github.com/debug-js/debug)
|
|
12
11
|
- has-flag@4.0.0 (https://github.com/sindresorhus/has-flag)
|
|
13
12
|
- json5@2.2.3 (https://github.com/json5/json5)
|
|
14
|
-
- mime@
|
|
15
|
-
- minimatch@
|
|
13
|
+
- mime@4.1.0 (https://github.com/broofa/mime)
|
|
14
|
+
- minimatch@10.2.5 (https://github.com/isaacs/minimatch)
|
|
16
15
|
- ms@2.1.3 (https://github.com/vercel/ms)
|
|
17
16
|
- source-map-support@0.5.21 (https://github.com/evanw/node-source-map-support)
|
|
18
17
|
- source-map@0.6.1 (https://github.com/mozilla/source-map)
|
|
19
|
-
- supports-color@
|
|
18
|
+
- supports-color@7.2.0 (https://github.com/chalk/supports-color)
|
|
20
19
|
|
|
21
|
-
%% balanced-match@
|
|
20
|
+
%% balanced-match@4.0.4 NOTICES AND INFORMATION BEGIN HERE
|
|
22
21
|
=========================================
|
|
23
22
|
(MIT)
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
Original code Copyright Julian Gruber <julian@juliangruber.com>
|
|
25
|
+
|
|
26
|
+
Port to TypeScript Copyright Isaac Z. Schlueter <i@izs.me>
|
|
26
27
|
|
|
27
28
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
28
29
|
this software and associated documentation files (the "Software"), to deal in
|
|
@@ -42,13 +43,15 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
42
43
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
43
44
|
SOFTWARE.
|
|
44
45
|
=========================================
|
|
45
|
-
END OF balanced-match@
|
|
46
|
+
END OF balanced-match@4.0.4 NOTICES AND INFORMATION
|
|
46
47
|
|
|
47
|
-
%% brace-expansion@
|
|
48
|
+
%% brace-expansion@5.0.7 NOTICES AND INFORMATION BEGIN HERE
|
|
48
49
|
=========================================
|
|
49
50
|
MIT License
|
|
50
51
|
|
|
51
|
-
Copyright
|
|
52
|
+
Copyright Julian Gruber <julian@juliangruber.com>
|
|
53
|
+
|
|
54
|
+
TypeScript port Copyright Isaac Z. Schlueter <i@izs.me>
|
|
52
55
|
|
|
53
56
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
54
57
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -68,7 +71,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
68
71
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
69
72
|
SOFTWARE.
|
|
70
73
|
=========================================
|
|
71
|
-
END OF brace-expansion@
|
|
74
|
+
END OF brace-expansion@5.0.7 NOTICES AND INFORMATION
|
|
72
75
|
|
|
73
76
|
%% buffer-from@1.1.2 NOTICES AND INFORMATION BEGIN HERE
|
|
74
77
|
=========================================
|
|
@@ -96,29 +99,6 @@ SOFTWARE.
|
|
|
96
99
|
=========================================
|
|
97
100
|
END OF buffer-from@1.1.2 NOTICES AND INFORMATION
|
|
98
101
|
|
|
99
|
-
%% concat-map@0.0.1 NOTICES AND INFORMATION BEGIN HERE
|
|
100
|
-
=========================================
|
|
101
|
-
This software is released under the MIT license:
|
|
102
|
-
|
|
103
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
104
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
105
|
-
the Software without restriction, including without limitation the rights to
|
|
106
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
107
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
108
|
-
subject to the following conditions:
|
|
109
|
-
|
|
110
|
-
The above copyright notice and this permission notice shall be included in all
|
|
111
|
-
copies or substantial portions of the Software.
|
|
112
|
-
|
|
113
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
114
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
115
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
116
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
117
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
118
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
119
|
-
=========================================
|
|
120
|
-
END OF concat-map@0.0.1 NOTICES AND INFORMATION
|
|
121
|
-
|
|
122
102
|
%% debug@4.4.3 NOTICES AND INFORMATION BEGIN HERE
|
|
123
103
|
=========================================
|
|
124
104
|
(The MIT License)
|
|
@@ -185,11 +165,11 @@ SOFTWARE.
|
|
|
185
165
|
=========================================
|
|
186
166
|
END OF json5@2.2.3 NOTICES AND INFORMATION
|
|
187
167
|
|
|
188
|
-
%% mime@
|
|
168
|
+
%% mime@4.1.0 NOTICES AND INFORMATION BEGIN HERE
|
|
189
169
|
=========================================
|
|
190
|
-
|
|
170
|
+
MIT License
|
|
191
171
|
|
|
192
|
-
Copyright (c)
|
|
172
|
+
Copyright (c) 2023 Robert Kieffer
|
|
193
173
|
|
|
194
174
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
195
175
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -198,38 +178,78 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
198
178
|
copies of the Software, and to permit persons to whom the Software is
|
|
199
179
|
furnished to do so, subject to the following conditions:
|
|
200
180
|
|
|
201
|
-
The above copyright notice and this permission notice shall be included in
|
|
202
|
-
|
|
181
|
+
The above copyright notice and this permission notice shall be included in all
|
|
182
|
+
copies or substantial portions of the Software.
|
|
203
183
|
|
|
204
184
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
205
185
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
206
186
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
207
187
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
208
188
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
209
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
210
|
-
|
|
189
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
190
|
+
SOFTWARE.
|
|
211
191
|
=========================================
|
|
212
|
-
END OF mime@
|
|
192
|
+
END OF mime@4.1.0 NOTICES AND INFORMATION
|
|
213
193
|
|
|
214
|
-
%% minimatch@
|
|
194
|
+
%% minimatch@10.2.5 NOTICES AND INFORMATION BEGIN HERE
|
|
215
195
|
=========================================
|
|
216
|
-
|
|
196
|
+
# Blue Oak Model License
|
|
197
|
+
|
|
198
|
+
Version 1.0.0
|
|
199
|
+
|
|
200
|
+
## Purpose
|
|
201
|
+
|
|
202
|
+
This license gives everyone as much permission to work with
|
|
203
|
+
this software as possible, while protecting contributors
|
|
204
|
+
from liability.
|
|
205
|
+
|
|
206
|
+
## Acceptance
|
|
207
|
+
|
|
208
|
+
In order to receive this license, you must agree to its
|
|
209
|
+
rules. The rules of this license are both obligations
|
|
210
|
+
under that agreement and conditions to your license.
|
|
211
|
+
You must not do anything with this software that triggers
|
|
212
|
+
a rule that you cannot or will not follow.
|
|
213
|
+
|
|
214
|
+
## Copyright
|
|
217
215
|
|
|
218
|
-
|
|
216
|
+
Each contributor licenses you to do everything with this
|
|
217
|
+
software that would otherwise infringe that contributor's
|
|
218
|
+
copyright in it.
|
|
219
219
|
|
|
220
|
-
|
|
221
|
-
purpose with or without fee is hereby granted, provided that the above
|
|
222
|
-
copyright notice and this permission notice appear in all copies.
|
|
220
|
+
## Notices
|
|
223
221
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
222
|
+
You must ensure that everyone who gets a copy of
|
|
223
|
+
any part of this software from you, with or without
|
|
224
|
+
changes, also gets the text of this license or a link to
|
|
225
|
+
<https://blueoakcouncil.org/license/1.0.0>.
|
|
226
|
+
|
|
227
|
+
## Excuse
|
|
228
|
+
|
|
229
|
+
If anyone notifies you in writing that you have not
|
|
230
|
+
complied with [Notices](#notices), you can keep your
|
|
231
|
+
license by taking all practical steps to comply within 30
|
|
232
|
+
days after the notice. If you do not do so, your license
|
|
233
|
+
ends immediately.
|
|
234
|
+
|
|
235
|
+
## Patent
|
|
236
|
+
|
|
237
|
+
Each contributor licenses you to do everything with this
|
|
238
|
+
software that would otherwise infringe any patent claims
|
|
239
|
+
they can license or become able to license.
|
|
240
|
+
|
|
241
|
+
## Reliability
|
|
242
|
+
|
|
243
|
+
No contributor can revoke this license.
|
|
244
|
+
|
|
245
|
+
## No Liability
|
|
246
|
+
|
|
247
|
+
**_As far as the law allows, this software comes as is,
|
|
248
|
+
without any warranty or condition, and no contributor
|
|
249
|
+
will be liable to anyone for any damages related to this
|
|
250
|
+
software or this license, under any kind of legal claim._**
|
|
231
251
|
=========================================
|
|
232
|
-
END OF minimatch@
|
|
252
|
+
END OF minimatch@10.2.5 NOTICES AND INFORMATION
|
|
233
253
|
|
|
234
254
|
%% ms@2.1.3 NOTICES AND INFORMATION BEGIN HERE
|
|
235
255
|
=========================================
|
|
@@ -315,11 +335,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
315
335
|
=========================================
|
|
316
336
|
END OF source-map@0.6.1 NOTICES AND INFORMATION
|
|
317
337
|
|
|
318
|
-
%% supports-color@
|
|
338
|
+
%% supports-color@7.2.0 NOTICES AND INFORMATION BEGIN HERE
|
|
319
339
|
=========================================
|
|
320
340
|
MIT License
|
|
321
341
|
|
|
322
|
-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (
|
|
342
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
|
323
343
|
|
|
324
344
|
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:
|
|
325
345
|
|
|
@@ -327,9 +347,9 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
327
347
|
|
|
328
348
|
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.
|
|
329
349
|
=========================================
|
|
330
|
-
END OF supports-color@
|
|
350
|
+
END OF supports-color@7.2.0 NOTICES AND INFORMATION
|
|
331
351
|
|
|
332
352
|
SUMMARY
|
|
333
353
|
=========================================
|
|
334
|
-
Total Packages:
|
|
354
|
+
Total Packages: 12
|
|
335
355
|
=========================================
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# packages/playwright/lib/transform/esmLoader.js
|
|
2
|
-
# total:
|
|
2
|
+
# total: 283.9 KB
|
|
3
3
|
|
|
4
|
-
## Inlined (
|
|
5
|
-
1.
|
|
6
|
-
4.
|
|
4
|
+
## Inlined (51)
|
|
5
|
+
1.3 KB node_modules/balanced-match/dist/esm/index.js
|
|
6
|
+
4.8 KB node_modules/brace-expansion/dist/esm/index.js
|
|
7
7
|
1.8 KB node_modules/buffer-from/index.js
|
|
8
|
-
0.5 KB node_modules/concat-map/index.js
|
|
9
8
|
4.6 KB node_modules/debug/src/browser.js
|
|
10
9
|
5.8 KB node_modules/debug/src/common.js
|
|
11
10
|
0.3 KB node_modules/debug/src/index.js
|
|
@@ -16,11 +15,16 @@
|
|
|
16
15
|
6.8 KB node_modules/json5/lib/stringify.js
|
|
17
16
|
15.5 KB node_modules/json5/lib/unicode.js
|
|
18
17
|
0.9 KB node_modules/json5/lib/util.js
|
|
19
|
-
0.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
0.1 KB node_modules/mime/dist/src/index.js
|
|
19
|
+
3.7 KB node_modules/mime/dist/src/Mime.js
|
|
20
|
+
29.4 KB node_modules/mime/dist/types/other.js
|
|
21
|
+
11.9 KB node_modules/mime/dist/types/standard.js
|
|
22
|
+
0.3 KB node_modules/minimatch/dist/esm/assert-valid-pattern.js
|
|
23
|
+
19.5 KB node_modules/minimatch/dist/esm/ast.js
|
|
24
|
+
3.1 KB node_modules/minimatch/dist/esm/brace-expressions.js
|
|
25
|
+
0.3 KB node_modules/minimatch/dist/esm/escape.js
|
|
26
|
+
26.3 KB node_modules/minimatch/dist/esm/index.js
|
|
27
|
+
0.4 KB node_modules/minimatch/dist/esm/unescape.js
|
|
24
28
|
2.8 KB node_modules/ms/index.js
|
|
25
29
|
16.1 KB node_modules/source-map-support/source-map-support.js
|
|
26
30
|
2.2 KB node_modules/source-map/lib/array-set.js
|
|
@@ -34,24 +38,23 @@
|
|
|
34
38
|
9.6 KB node_modules/source-map/lib/source-node.js
|
|
35
39
|
8.6 KB node_modules/source-map/lib/util.js
|
|
36
40
|
0.3 KB node_modules/source-map/source-map.js
|
|
37
|
-
3.
|
|
41
|
+
3.1 KB node_modules/supports-color/index.js
|
|
38
42
|
0.1 KB packages/isomorphic/rtti.ts
|
|
39
|
-
0.2 KB packages/isomorphic/stackTrace.ts
|
|
40
43
|
0.2 KB packages/isomorphic/stringUtils.ts
|
|
41
|
-
6.
|
|
44
|
+
6.5 KB packages/playwright/src/transform/compilationCache.ts
|
|
42
45
|
3.1 KB packages/playwright/src/transform/esmLoader.ts
|
|
43
46
|
1.7 KB packages/playwright/src/transform/esmLoaderSync.ts
|
|
44
47
|
1.1 KB packages/playwright/src/transform/pirates.ts
|
|
45
48
|
1.1 KB packages/playwright/src/transform/portTransport.ts
|
|
46
49
|
11.7 KB packages/playwright/src/transform/transform.ts
|
|
47
|
-
2
|
|
48
|
-
4.
|
|
50
|
+
3.2 KB packages/playwright/src/transform/tsconfig-loader.ts
|
|
51
|
+
4.7 KB packages/playwright/src/util.ts
|
|
49
52
|
0.2 KB packages/utils/crypto.ts
|
|
50
|
-
0.
|
|
53
|
+
0.1 KB packages/utils/debug.ts
|
|
51
54
|
0.5 KB packages/utils/env.ts
|
|
55
|
+
0.2 KB packages/utils/stackTrace.ts
|
|
52
56
|
|
|
53
|
-
## External (
|
|
57
|
+
## External (3)
|
|
54
58
|
../globals
|
|
55
59
|
../package
|
|
56
60
|
../transform/esmLoader.js
|
|
57
|
-
playwright-core/package.json
|
|
@@ -37,9 +37,7 @@ __export(util_exports, {
|
|
|
37
37
|
expectTypes: () => expectTypes,
|
|
38
38
|
fileExistsAsync: () => fileExistsAsync,
|
|
39
39
|
fileIsModule: () => fileIsModule,
|
|
40
|
-
filterStackFile: () => filterStackFile,
|
|
41
40
|
filterStackTrace: () => filterStackTrace,
|
|
42
|
-
filteredStackTrace: () => filteredStackTrace,
|
|
43
41
|
forceRegExp: () => forceRegExp,
|
|
44
42
|
formatLocation: () => formatLocation,
|
|
45
43
|
getContainedPath: () => getContainedPath,
|
|
@@ -63,14 +61,12 @@ var import_path = __toESM(require("path"));
|
|
|
63
61
|
var import_util = __toESM(require("util"));
|
|
64
62
|
const debug = require("playwright-core/lib/utilsBundle").debug;
|
|
65
63
|
const mime = require("playwright-core/lib/utilsBundle").mime;
|
|
66
|
-
const minimatch = require("playwright-core/lib/utilsBundle")
|
|
64
|
+
const { minimatch } = require("playwright-core/lib/utilsBundle");
|
|
67
65
|
const { calculateSha1 } = require("playwright-core/lib/coreBundle").utils;
|
|
68
66
|
const { sanitizeForFilePath } = require("playwright-core/lib/coreBundle").utils;
|
|
69
67
|
const { isRegExp } = require("playwright-core/lib/coreBundle").iso;
|
|
70
|
-
const {
|
|
68
|
+
const { stringifyStackFrames, filteredStackTrace } = require("playwright-core/lib/coreBundle").utils;
|
|
71
69
|
const { ansiRegex, isString, stripAnsiEscapes } = require("playwright-core/lib/coreBundle").iso;
|
|
72
|
-
const PLAYWRIGHT_TEST_PATH = import_path.default.join(__dirname, "..");
|
|
73
|
-
const PLAYWRIGHT_CORE_PATH = import_path.default.dirname(require.resolve("playwright-core/package.json"));
|
|
74
70
|
function filterStackTrace(e) {
|
|
75
71
|
const name = e.name ? e.name + ": " : "";
|
|
76
72
|
const cause = e.cause instanceof Error ? filterStackTrace(e.cause) : void 0;
|
|
@@ -83,27 +79,6 @@ function filterStackTrace(e) {
|
|
|
83
79
|
cause
|
|
84
80
|
};
|
|
85
81
|
}
|
|
86
|
-
function filterStackFile(file) {
|
|
87
|
-
if (process.env.PWDEBUGIMPL)
|
|
88
|
-
return true;
|
|
89
|
-
if (file.startsWith(PLAYWRIGHT_TEST_PATH))
|
|
90
|
-
return false;
|
|
91
|
-
if (file.startsWith(PLAYWRIGHT_CORE_PATH))
|
|
92
|
-
return false;
|
|
93
|
-
return true;
|
|
94
|
-
}
|
|
95
|
-
function filteredStackTrace(rawStack) {
|
|
96
|
-
const frames = [];
|
|
97
|
-
for (const line of rawStack) {
|
|
98
|
-
const frame = parseStackFrame(line, import_path.default.sep, !!process.env.PWDEBUGIMPL);
|
|
99
|
-
if (!frame || !frame.file)
|
|
100
|
-
continue;
|
|
101
|
-
if (!filterStackFile(frame.file))
|
|
102
|
-
continue;
|
|
103
|
-
frames.push(frame);
|
|
104
|
-
}
|
|
105
|
-
return frames;
|
|
106
|
-
}
|
|
107
82
|
function serializeError(error) {
|
|
108
83
|
if (error instanceof Error)
|
|
109
84
|
return filterStackTrace(error);
|
|
@@ -378,9 +353,7 @@ function takeFirst(...args) {
|
|
|
378
353
|
expectTypes,
|
|
379
354
|
fileExistsAsync,
|
|
380
355
|
fileIsModule,
|
|
381
|
-
filterStackFile,
|
|
382
356
|
filterStackTrace,
|
|
383
|
-
filteredStackTrace,
|
|
384
357
|
forceRegExp,
|
|
385
358
|
formatLocation,
|
|
386
359
|
getContainedPath,
|
|
@@ -36,14 +36,12 @@ var import_path = __toESM(require("path"));
|
|
|
36
36
|
var import_util = __toESM(require("util"));
|
|
37
37
|
var debug = require("playwright-core/lib/utilsBundle").debug;
|
|
38
38
|
var mime = require("playwright-core/lib/utilsBundle").mime;
|
|
39
|
-
var minimatch = require("playwright-core/lib/utilsBundle")
|
|
39
|
+
var { minimatch } = require("playwright-core/lib/utilsBundle");
|
|
40
40
|
var { calculateSha1 } = require("playwright-core/lib/coreBundle").utils;
|
|
41
41
|
var { sanitizeForFilePath } = require("playwright-core/lib/coreBundle").utils;
|
|
42
42
|
var { isRegExp } = require("playwright-core/lib/coreBundle").iso;
|
|
43
|
-
var {
|
|
43
|
+
var { stringifyStackFrames, filteredStackTrace } = require("playwright-core/lib/coreBundle").utils;
|
|
44
44
|
var { ansiRegex, isString, stripAnsiEscapes } = require("playwright-core/lib/coreBundle").iso;
|
|
45
|
-
var PLAYWRIGHT_TEST_PATH = import_path.default.join(__dirname, "..");
|
|
46
|
-
var PLAYWRIGHT_CORE_PATH = import_path.default.dirname(require.resolve("playwright-core/package.json"));
|
|
47
45
|
function filterStackTrace(e) {
|
|
48
46
|
const name = e.name ? e.name + ": " : "";
|
|
49
47
|
const cause = e.cause instanceof Error ? filterStackTrace(e.cause) : void 0;
|
|
@@ -56,27 +54,6 @@ function filterStackTrace(e) {
|
|
|
56
54
|
cause
|
|
57
55
|
};
|
|
58
56
|
}
|
|
59
|
-
function filterStackFile(file) {
|
|
60
|
-
if (process.env.PWDEBUGIMPL)
|
|
61
|
-
return true;
|
|
62
|
-
if (file.startsWith(PLAYWRIGHT_TEST_PATH))
|
|
63
|
-
return false;
|
|
64
|
-
if (file.startsWith(PLAYWRIGHT_CORE_PATH))
|
|
65
|
-
return false;
|
|
66
|
-
return true;
|
|
67
|
-
}
|
|
68
|
-
function filteredStackTrace(rawStack) {
|
|
69
|
-
const frames = [];
|
|
70
|
-
for (const line of rawStack) {
|
|
71
|
-
const frame = parseStackFrame(line, import_path.default.sep, !!process.env.PWDEBUGIMPL);
|
|
72
|
-
if (!frame || !frame.file)
|
|
73
|
-
continue;
|
|
74
|
-
if (!filterStackFile(frame.file))
|
|
75
|
-
continue;
|
|
76
|
-
frames.push(frame);
|
|
77
|
-
}
|
|
78
|
-
return frames;
|
|
79
|
-
}
|
|
80
57
|
function serializeError(error) {
|
|
81
58
|
if (error instanceof Error)
|
|
82
59
|
return filterStackTrace(error);
|
|
@@ -135,6 +112,7 @@ async function normalizeAndSaveAttachment(outputPath, name, options = {}) {
|
|
|
135
112
|
var import_common = require("../common");
|
|
136
113
|
var { ManualPromise } = require("playwright-core/lib/coreBundle").iso;
|
|
137
114
|
var { escapeWithQuotes } = require("playwright-core/lib/coreBundle").iso;
|
|
115
|
+
var { filterStackFile } = require("playwright-core/lib/coreBundle").utils;
|
|
138
116
|
var Fixture = class {
|
|
139
117
|
constructor(runner, registration) {
|
|
140
118
|
this.failed = false;
|
|
@@ -538,6 +516,7 @@ var { ManualPromise: ManualPromise3 } = require("playwright-core/lib/coreBundle"
|
|
|
538
516
|
var { monotonicTime: monotonicTime2 } = require("playwright-core/lib/coreBundle").iso;
|
|
539
517
|
var { calculateSha1: calculateSha12, createGuid } = require("playwright-core/lib/coreBundle").utils;
|
|
540
518
|
var { SerializedFS } = require("playwright-core/lib/coreBundle").utils;
|
|
519
|
+
var { filteredStackTrace: filteredStackTrace2 } = require("playwright-core/lib/coreBundle").utils;
|
|
541
520
|
var testTraceEntryName = "test.trace";
|
|
542
521
|
var version = 8;
|
|
543
522
|
var traceOrdinal = 0;
|
|
@@ -707,7 +686,7 @@ var TestTracing = class {
|
|
|
707
686
|
}
|
|
708
687
|
appendForError(error) {
|
|
709
688
|
const rawStack = error.stack?.split("\n") || [];
|
|
710
|
-
const stack = rawStack ?
|
|
689
|
+
const stack = rawStack ? filteredStackTrace2(rawStack) : [];
|
|
711
690
|
this._appendTraceEvent({
|
|
712
691
|
type: "error",
|
|
713
692
|
message: this._formatError(error),
|
|
@@ -857,7 +836,7 @@ function testInfoError(error) {
|
|
|
857
836
|
// packages/playwright/src/worker/testInfo.ts
|
|
858
837
|
var import_common2 = require("../common");
|
|
859
838
|
var { ManualPromise: ManualPromise4 } = require("playwright-core/lib/coreBundle").iso;
|
|
860
|
-
var { captureRawStack, stringifyStackFrames: stringifyStackFrames2 } = require("playwright-core/lib/coreBundle").
|
|
839
|
+
var { captureRawStack, stringifyStackFrames: stringifyStackFrames2, filteredStackTrace: filteredStackTrace3 } = require("playwright-core/lib/coreBundle").utils;
|
|
861
840
|
var { escapeWithQuotes: escapeWithQuotes2 } = require("playwright-core/lib/coreBundle").iso;
|
|
862
841
|
var { monotonicTime: monotonicTime3 } = require("playwright-core/lib/coreBundle").iso;
|
|
863
842
|
var { createGuid: createGuid2 } = require("playwright-core/lib/coreBundle").utils;
|
|
@@ -896,7 +875,7 @@ var TestInfoImpl = class {
|
|
|
896
875
|
this._startTime = monotonicTime3();
|
|
897
876
|
this._startWallTime = Date.now();
|
|
898
877
|
this._requireFile = test?._requireFile ?? "";
|
|
899
|
-
this._uniqueSymbol = Symbol("testInfoUniqueSymbol");
|
|
878
|
+
this._uniqueSymbol = /* @__PURE__ */ Symbol("testInfoUniqueSymbol");
|
|
900
879
|
this._workerParams = workerParams;
|
|
901
880
|
this.repeatEachIndex = workerParams.repeatEachIndex;
|
|
902
881
|
this.retry = retry;
|
|
@@ -1013,7 +992,7 @@ var TestInfoImpl = class {
|
|
|
1013
992
|
if (!parentStep)
|
|
1014
993
|
parentStep = this._parentStep();
|
|
1015
994
|
}
|
|
1016
|
-
const filteredStack =
|
|
995
|
+
const filteredStack = filteredStackTrace3(captureRawStack());
|
|
1017
996
|
let boxedStack = parentStep?.boxedStack;
|
|
1018
997
|
let location = data.location;
|
|
1019
998
|
if (!boxedStack && data.box) {
|
|
@@ -1354,13 +1333,14 @@ var TestAbortError = class extends Error {
|
|
|
1354
1333
|
};
|
|
1355
1334
|
var StepSkipError = class extends Error {
|
|
1356
1335
|
};
|
|
1357
|
-
var stepSymbol = Symbol("step");
|
|
1336
|
+
var stepSymbol = /* @__PURE__ */ Symbol("step");
|
|
1358
1337
|
|
|
1359
1338
|
// packages/playwright/src/worker/workerMain.ts
|
|
1360
1339
|
var colors2 = require("playwright-core/lib/utilsBundle").colors;
|
|
1361
1340
|
var { ManualPromise: ManualPromise5 } = require("playwright-core/lib/coreBundle").iso;
|
|
1362
1341
|
var { removeFolders } = require("playwright-core/lib/coreBundle").utils;
|
|
1363
1342
|
var { gracefullyCloseAll } = require("playwright-core/lib/coreBundle").utils;
|
|
1343
|
+
var { filteredStackTrace: filteredStackTrace4 } = require("playwright-core/lib/coreBundle").utils;
|
|
1364
1344
|
var WorkerMain = class extends import_common3.ProcessRunner {
|
|
1365
1345
|
constructor(params) {
|
|
1366
1346
|
super();
|
|
@@ -1508,6 +1488,8 @@ var WorkerMain = class extends import_common3.ProcessRunner {
|
|
|
1508
1488
|
import_common3.suiteUtils.applyRepeatEachIndex(this._project, suite, this._params.repeatEachIndex);
|
|
1509
1489
|
import_common3.suiteUtils.filterTestsRemoveEmptySuites(suite, (test) => entries.has(test.id));
|
|
1510
1490
|
const tests = suite.allTests();
|
|
1491
|
+
for (const test of tests)
|
|
1492
|
+
test.annotations.push(...entries.get(test.id).planAnnotations);
|
|
1511
1493
|
const unknownTestIds = new Set(entries.keys());
|
|
1512
1494
|
for (const test of tests)
|
|
1513
1495
|
unknownTestIds.delete(test.id);
|
|
@@ -1605,7 +1587,7 @@ var WorkerMain = class extends import_common3.ProcessRunner {
|
|
|
1605
1587
|
globals.setCurrentTestInfo(testInfo);
|
|
1606
1588
|
(0, import_expect.setExpectConfig)({
|
|
1607
1589
|
testInfo,
|
|
1608
|
-
filteredStackTrace,
|
|
1590
|
+
filteredStackTrace: filteredStackTrace4,
|
|
1609
1591
|
ignoreSnapshots: testInfo._projectInternal.project.ignoreSnapshots,
|
|
1610
1592
|
updateSnapshots: testInfo.config.updateSnapshots,
|
|
1611
1593
|
timeout: testInfo._projectInternal.expect?.timeout,
|
|
@@ -1736,7 +1718,7 @@ var WorkerMain = class extends import_common3.ProcessRunner {
|
|
|
1736
1718
|
testInfo.duration = testInfo._timeoutManager.defaultSlot().elapsed + afterHooksSlot.elapsed | 0;
|
|
1737
1719
|
this._currentTest = null;
|
|
1738
1720
|
globals.setCurrentTestInfo(null);
|
|
1739
|
-
(0, import_expect.setExpectConfig)({ testInfo: null, filteredStackTrace, ignoreSnapshots: false, updateSnapshots: "missing" });
|
|
1721
|
+
(0, import_expect.setExpectConfig)({ testInfo: null, filteredStackTrace: filteredStackTrace4, ignoreSnapshots: false, updateSnapshots: "missing" });
|
|
1740
1722
|
this.dispatchEvent("testEnd", buildTestEndPayload(testInfo));
|
|
1741
1723
|
const preserveOutput = this._config.config.preserveOutput === "always" || this._config.config.preserveOutput === "failures-only" && testInfo._isFailure();
|
|
1742
1724
|
if (!preserveOutput)
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
# packages/playwright/lib/worker/workerProcessEntry.js
|
|
2
|
-
# total:
|
|
2
|
+
# total: 73.9 KB
|
|
3
3
|
|
|
4
4
|
## Inlined (8)
|
|
5
|
-
|
|
6
|
-
8.
|
|
7
|
-
21.
|
|
8
|
-
11.
|
|
5
|
+
3.7 KB packages/playwright/src/util.ts
|
|
6
|
+
8.7 KB packages/playwright/src/worker/fixtureRunner.ts
|
|
7
|
+
21.1 KB packages/playwright/src/worker/testInfo.ts
|
|
8
|
+
11.7 KB packages/playwright/src/worker/testTracing.ts
|
|
9
9
|
5.4 KB packages/playwright/src/worker/timeoutManager.ts
|
|
10
10
|
0.3 KB packages/playwright/src/worker/util.ts
|
|
11
|
-
21.
|
|
11
|
+
21.3 KB packages/playwright/src/worker/workerMain.ts
|
|
12
12
|
0.1 KB packages/playwright/src/worker/workerProcessEntry.ts
|
|
13
13
|
|
|
14
|
-
## External (
|
|
14
|
+
## External (5)
|
|
15
15
|
../common
|
|
16
16
|
../globals
|
|
17
17
|
../matchers/expect
|
|
18
18
|
playwright-core/lib/coreBundle
|
|
19
19
|
playwright-core/lib/utilsBundle
|
|
20
|
-
playwright-core/package.json
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.62.0",
|
|
4
4
|
"description": "A high-level API to automate web browsers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"homepage": "https://playwright.dev",
|
|
10
10
|
"engines": {
|
|
11
|
-
"node": ">=
|
|
11
|
+
"node": ">=20"
|
|
12
12
|
},
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"exports": {
|
|
@@ -20,11 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"./package.json": "./package.json",
|
|
22
22
|
"./lib/common": "./lib/common/index.js",
|
|
23
|
-
"./lib/fsWatcher": "./lib/fsWatcher.js",
|
|
24
|
-
"./lib/mcp/index": "./lib/mcp/index.js",
|
|
25
23
|
"./lib/program": "./lib/program.js",
|
|
26
24
|
"./lib/runner": "./lib/runner/index.js",
|
|
27
|
-
"./lib/isomorphic": "./lib/isomorphic/index.js",
|
|
28
25
|
"./lib/transform/babelBundle": "./lib/transform/babelBundle.js",
|
|
29
26
|
"./jsx-runtime": {
|
|
30
27
|
"import": "./jsx-runtime.mjs",
|
|
@@ -53,7 +50,7 @@
|
|
|
53
50
|
},
|
|
54
51
|
"license": "Apache-2.0",
|
|
55
52
|
"dependencies": {
|
|
56
|
-
"playwright-core": "1.
|
|
53
|
+
"playwright-core": "1.62.0"
|
|
57
54
|
},
|
|
58
55
|
"optionalDependencies": {
|
|
59
56
|
"fsevents": "2.3.2"
|