rechrome 1.18.1 → 1.20.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 +8 -3
- package/package.json +5 -3
- package/rech.js +117 -12
- package/rech.ts +117 -12
- package/serve.js +4 -1
- package/serve.ts +4 -1
- package/vendor/playwright-cli/node_modules/playwright-core/README.md +3 -0
- package/vendor/playwright-cli/node_modules/playwright-core/ThirdPartyNotices.txt +13 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/install_media_pack.ps1 +5 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +33 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +42 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +13 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +24 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +42 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +12 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +24 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +48 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +11 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +23 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +48 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +11 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +23 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +48 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +11 -0
- package/vendor/playwright-cli/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +24 -0
- package/vendor/playwright-cli/node_modules/playwright-core/browsers.json +81 -0
- package/vendor/playwright-cli/node_modules/playwright-core/cli.js +21 -0
- package/vendor/playwright-cli/node_modules/playwright-core/index.d.ts +17 -0
- package/vendor/playwright-cli/node_modules/playwright-core/index.js +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/index.mjs +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/androidServerImpl.js +65 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/bootstrap.js +77 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/browserServerImpl.js +120 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/driver.js +98 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/program.js +597 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/cli/programWithTestStub.js +74 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/android.js +361 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/api.js +137 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/artifact.js +79 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browser.js +169 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browserContext.js +583 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/browserType.js +153 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/cdpSession.js +55 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/channelOwner.js +194 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientHelper.js +64 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientInstrumentation.js +55 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clientStackTrace.js +69 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/clock.js +68 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/connect.js +143 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/connection.js +322 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/consoleMessage.js +61 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/coverage.js +44 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/debugger.js +57 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/dialog.js +56 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/disposable.js +76 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/download.js +62 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/electron.js +138 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/elementHandle.js +281 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/errors.js +77 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/eventEmitter.js +314 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/events.js +103 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fetch.js +367 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fileChooser.js +46 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/fileUtils.js +34 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/frame.js +404 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/harRouter.js +99 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/input.js +84 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/jsHandle.js +105 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/jsonPipe.js +39 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/localUtils.js +60 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/locator.js +367 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/network.js +750 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/page.js +729 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/platform.js +77 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/playwright.js +71 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/screencast.js +48 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/selectors.js +57 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/stream.js +39 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/timeoutSettings.js +79 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/tracing.js +126 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/types.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/video.js +68 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/waiter.js +142 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/webError.js +39 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/worker.js +85 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/client/writableStream.js +39 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/coreBundle.js +68170 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/electron/loader.js +67 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/cliDaemon.js +5 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/dashboardApp.js +3 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/mcp.js +10 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/entry/oopBrowserDownload.js +3 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/clockSource.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/injectedScriptSource.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/storageScriptSource.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/utilityScriptSource.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/generated/webSocketMockSource.js +336 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/inProcessFactory.js +60 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/inprocess.js +3 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/mcpBundle.js +81 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/mcpBundleImpl/index.js +91 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/outofprocess.js +76 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/package.js +50 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/serializers.js +197 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/validator.js +3034 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +193 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightConnection.js +131 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightPipeServer.js +100 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightServer.js +339 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/playwrightWebSocketServer.js +73 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/remote/serverTransport.js +96 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/android/android.js +465 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/android/backendAdb.js +177 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/artifact.js +127 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +571 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +162 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +213 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiDeserializer.js +116 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +267 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +128 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiInput.js +146 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +411 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +102 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiPage.js +599 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +106 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +22 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +256 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +24 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +180 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +42 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +148 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +261 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browser.js +223 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browserContext.js +703 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/browserType.js +338 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/callLog.js +82 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/chromium.js +399 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +104 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crBrowser.js +532 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crConnection.js +197 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crCoverage.js +235 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crDevTools.js +111 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +131 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +146 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crInput.js +187 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +708 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crPage.js +1004 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crPdf.js +121 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +145 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +137 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +162 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/chromium/protocol.d.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/clock.js +149 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/csharp.js +327 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/java.js +274 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/javascript.js +247 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/jsonl.js +52 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/language.js +132 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/languages.js +68 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/python.js +279 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/codegen/types.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/console.js +61 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/cookieStore.js +206 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/debugController.js +197 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/debugger.js +120 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/deviceDescriptors.js +39 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +1779 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dialog.js +116 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +325 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +118 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +381 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +124 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +71 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +47 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +78 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/debuggerDispatcher.js +80 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +47 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +364 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/disposableDispatcher.js +39 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +90 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +181 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +227 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +85 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +58 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +185 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +214 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +434 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +108 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +67 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +68 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +164 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +79 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/disposable.js +41 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/dom.js +823 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/download.js +71 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/electron/electron.js +272 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/electron/loader.js +115 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/errors.js +69 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fetch.js +621 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fileChooser.js +43 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/fileUploadUtils.js +84 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +415 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffConnection.js +142 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +150 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffInput.js +175 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +256 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/ffPage.js +495 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/firefox.js +114 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/firefox/protocol.d.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/formData.js +147 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/frameSelectors.js +160 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/frames.js +1495 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/har/harRecorder.js +147 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/har/harTracer.js +608 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/harBackend.js +157 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/helper.js +96 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/index.js +58 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/input.js +277 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/instrumentation.js +72 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/javascript.js +291 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/launchApp.js +127 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/localUtils.js +214 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/macEditingCommands.js +143 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/network.js +668 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/page.js +884 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/pipeTransport.js +89 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/playwright.js +69 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/progress.js +136 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/protocolError.js +52 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/chat.js +161 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderApp.js +367 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +138 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +83 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +157 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder/throttledFile.js +57 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/recorder.js +540 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/browserFetcher.js +177 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/dependencies.js +371 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/index.js +1395 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/nativeDeps.js +1281 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +127 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/screencast.js +216 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/screenshotter.js +333 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/selectors.js +112 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +383 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/socksInterceptor.js +95 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +147 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +561 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +607 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +244 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/transport.js +181 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/types.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/usKeyboardLayout.js +152 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/ascii.js +44 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/comparators.js +139 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/crypto.js +216 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/debug.js +42 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/debugLogger.js +122 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/disposable.js +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/env.js +73 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/eventsHelper.js +41 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/expectUtils.js +123 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/fileUtils.js +191 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +207 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/hostPlatform.js +123 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/httpServer.js +205 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +89 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +109 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +78 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +102 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/linuxUtils.js +71 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/network.js +244 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/nodePlatform.js +154 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/pipeTransport.js +84 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/processLauncher.js +243 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/profiler.js +65 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/socksProxy.js +511 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/spawnAsync.js +41 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/task.js +51 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/userAgent.js +98 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/wsServer.js +121 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/zipFile.js +74 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/utils/zones.js +57 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/videoRecorder.js +133 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/protocol.d.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/webkit.js +108 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +331 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkConnection.js +144 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +154 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkInput.js +181 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +197 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkPage.js +1164 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +83 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +106 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/serverRegistry.js +7343 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/serverRegistry.js.LICENSE +354 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/third_party/pixelmatch.js +255 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/browserBackend.js +79 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/common.js +63 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/config.js +41 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/console.js +66 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/context.js +290 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/cookies.js +152 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/devtools.js +69 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/dialogs.js +59 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/evaluate.js +64 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/files.js +60 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/form.js +64 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/keyboard.js +155 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/logFile.js +95 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/mouse.js +168 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/navigate.js +106 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/network.js +135 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/pdf.js +48 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/response.js +302 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/route.js +140 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/runCode.js +76 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/screenshot.js +88 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/sessionLog.js +74 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/snapshot.js +208 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/storage.js +67 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tab.js +445 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tabs.js +67 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tool.js +47 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tools.js +102 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/tracing.js +75 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/utils.js +83 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/verify.js +151 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/video.js +89 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/wait.js +63 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/webstorage.js +223 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/channelSessions.js +141 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/cli.js +6 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/help.json +679 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/minimist.js +128 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/output.js +343 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/program.js +380 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/registry.js +176 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/session.js +265 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/SKILL.md +388 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/element-attributes.md +23 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/playwright-tests.md +39 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/request-mocking.md +87 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/running-code.md +241 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/session-management.md +225 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/spec-driven-testing.md +305 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/storage-state.md +275 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/test-generation.md +134 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/tracing.md +139 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-client/skill/references/video-recording.md +143 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/command.js +73 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/commands.js +933 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/daemon.js +178 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/helpGenerator.js +173 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/cli-daemon/program.js +118 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/appIcon.png +0 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/dashboardApp.js +286 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/dashboard/dashboardController.js +296 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/exports.js +60 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/browserFactory.js +233 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/cdpRelay.js +356 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/cli-stub.js +7 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/config.d.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/config.js +401 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/configIni.js +189 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/extensionContextFactory.js +59 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/index.js +62 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/log.js +35 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/program.js +107 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/protocol.js +28 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/mcp/watchdog.js +44 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/SKILL.md +171 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/installSkill.js +48 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceActions.js +142 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceAttachments.js +69 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceCli.js +80 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceConsole.js +97 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceErrors.js +55 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceOpen.js +69 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceParser.js +96 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceRequests.js +158 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceScreenshot.js +68 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceSnapshot.js +149 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/trace/traceUtils.js +135 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/connect.js +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/extension.js +78 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/http.js +152 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/server.js +230 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/mcp/tool.js +47 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/utils/socketConnection.js +108 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +455 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/assert.js +31 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/colors.js +72 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +245 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +1051 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/formatUtils.js +64 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/headers.js +53 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/imageUtils.js +141 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +689 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +176 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +81 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/lruCache.js +51 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +114 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +464 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +80 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +81 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +342 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +43 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +386 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +54 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +158 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +204 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/time.js +49 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +66 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/entries.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotRenderer.js +502 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotServer.js +120 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/snapshotStorage.js +89 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceLoader.js +131 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModel.js +366 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceModernizer.js +401 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/traceUtils.js +58 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV3.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV4.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV5.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV6.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV7.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/trace/versions/traceV8.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/types.js +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +243 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +262 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils/isomorphic/yaml.js +84 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utils.js +113 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utilsBundle.js +86478 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utilsBundle.js.LICENSE +2058 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/utilsBundleImpl/index.js +218 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/codicon-DCmgc-ay.ttf +0 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-1bWoP6pv.svg +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-beta-k3eOH_eK.svg +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/firefox-nightly-Cp5nfeDT.svg +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/index-BY2S1tHT.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/index-DpEq2p62.js +52 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/assets/safari-na3_-uQk.svg +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/index.html +29 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/dashboard/playwright-logo.svg +24 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/htmlReport/index.html +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/htmlReport/report.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/htmlReport/report.js +72 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-BHYmBp6h.js +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DYBRYzYX.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/index-4ZiSSCmn.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/assets/index-DA10QRaq.js +193 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/index.html +29 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +9 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BRrOnXSS.js +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-BtGnd8kr.js +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-CnvO0fko.js +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BkMbME_o.js +262 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BoN8TZYy.js +262 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-CN3cwLGD.js +262 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/urlMatch-BYQrIQwR.js +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +9 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.DYBRYzYX.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.B4dS75f0.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.BDKsFU3c.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.DcQiWcKS.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.B2ffe31o.js +2 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.CzXZzn5A.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.Df3uWWXm.js +2 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.PqVYgODr.js +2 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/index.html +44 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +16 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +9 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +10 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/snapshot.v8KI4P3m.js +2 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +5 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.B-IwVgWY.js +6 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.BZQ54Kgt.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Btcz36p_.css +1 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.CmAqMvmy.js +6 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +18 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/uiMode.u9Eas4CP.js +6 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +32 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/xdg-open +1066 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/zipBundle.js +34 -0
- package/vendor/playwright-cli/node_modules/playwright-core/lib/zipBundleImpl.js +5 -0
- package/vendor/playwright-cli/node_modules/playwright-core/package.json +34 -0
- package/vendor/playwright-cli/node_modules/playwright-core/types/protocol.d.ts +24565 -0
- package/vendor/playwright-cli/node_modules/playwright-core/types/structs.d.ts +45 -0
- package/vendor/playwright-cli/node_modules/playwright-core/types/types.d.ts +23879 -0
- package/vendor/playwright-cli/package.json +6 -0
- package/vendor/playwright-cli/playwright-cli.js +50 -0
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
packages/playwright-core/lib/serverRegistry.js
|
|
2
|
+
|
|
3
|
+
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
|
|
4
|
+
|
|
5
|
+
The following npm packages are inlined into this bundle.
|
|
6
|
+
|
|
7
|
+
- anymatch@3.1.3 (https://github.com/micromatch/anymatch)
|
|
8
|
+
- binary-extensions@2.3.0 (https://github.com/sindresorhus/binary-extensions)
|
|
9
|
+
- braces@3.0.3 (https://github.com/micromatch/braces)
|
|
10
|
+
- chokidar@3.6.0 (https://github.com/paulmillr/chokidar)
|
|
11
|
+
- fill-range@7.1.1 (https://github.com/jonschlinkert/fill-range)
|
|
12
|
+
- glob-parent@5.1.2 (https://github.com/gulpjs/glob-parent)
|
|
13
|
+
- is-binary-path@2.1.0 (https://github.com/sindresorhus/is-binary-path)
|
|
14
|
+
- is-extglob@2.1.1 (https://github.com/jonschlinkert/is-extglob)
|
|
15
|
+
- is-glob@4.0.3 (https://github.com/micromatch/is-glob)
|
|
16
|
+
- is-number@7.0.0 (https://github.com/jonschlinkert/is-number)
|
|
17
|
+
- normalize-path@3.0.0 (https://github.com/jonschlinkert/normalize-path)
|
|
18
|
+
- picomatch@2.3.2 (https://github.com/micromatch/picomatch)
|
|
19
|
+
- readdirp@3.6.0 (https://github.com/paulmillr/readdirp)
|
|
20
|
+
- to-regex-range@5.0.1 (https://github.com/micromatch/to-regex-range)
|
|
21
|
+
|
|
22
|
+
%% anymatch@3.1.3 NOTICES AND INFORMATION BEGIN HERE
|
|
23
|
+
=========================================
|
|
24
|
+
The ISC License
|
|
25
|
+
|
|
26
|
+
Copyright (c) 2019 Elan Shanker, Paul Miller (https://paulmillr.com)
|
|
27
|
+
|
|
28
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
29
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
30
|
+
copyright notice and this permission notice appear in all copies.
|
|
31
|
+
|
|
32
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
33
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
34
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
35
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
36
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
37
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
38
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
39
|
+
=========================================
|
|
40
|
+
END OF anymatch@3.1.3 NOTICES AND INFORMATION
|
|
41
|
+
|
|
42
|
+
%% binary-extensions@2.3.0 NOTICES AND INFORMATION BEGIN HERE
|
|
43
|
+
=========================================
|
|
44
|
+
MIT License
|
|
45
|
+
|
|
46
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
47
|
+
Copyright (c) Paul Miller (https://paulmillr.com)
|
|
48
|
+
|
|
49
|
+
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:
|
|
50
|
+
|
|
51
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
52
|
+
|
|
53
|
+
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.
|
|
54
|
+
=========================================
|
|
55
|
+
END OF binary-extensions@2.3.0 NOTICES AND INFORMATION
|
|
56
|
+
|
|
57
|
+
%% braces@3.0.3 NOTICES AND INFORMATION BEGIN HERE
|
|
58
|
+
=========================================
|
|
59
|
+
The MIT License (MIT)
|
|
60
|
+
|
|
61
|
+
Copyright (c) 2014-present, Jon Schlinkert.
|
|
62
|
+
|
|
63
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
64
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
65
|
+
in the Software without restriction, including without limitation the rights
|
|
66
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
67
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
68
|
+
furnished to do so, subject to the following conditions:
|
|
69
|
+
|
|
70
|
+
The above copyright notice and this permission notice shall be included in
|
|
71
|
+
all copies or substantial portions of the Software.
|
|
72
|
+
|
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
74
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
75
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
76
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
77
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
78
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
79
|
+
THE SOFTWARE.
|
|
80
|
+
=========================================
|
|
81
|
+
END OF braces@3.0.3 NOTICES AND INFORMATION
|
|
82
|
+
|
|
83
|
+
%% chokidar@3.6.0 NOTICES AND INFORMATION BEGIN HERE
|
|
84
|
+
=========================================
|
|
85
|
+
The MIT License (MIT)
|
|
86
|
+
|
|
87
|
+
Copyright (c) 2012-2019 Paul Miller (https://paulmillr.com), Elan Shanker
|
|
88
|
+
|
|
89
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
90
|
+
of this software and associated documentation files (the “Software”), to deal
|
|
91
|
+
in the Software without restriction, including without limitation the rights
|
|
92
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
93
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
94
|
+
furnished to do so, subject to the following conditions:
|
|
95
|
+
|
|
96
|
+
The above copyright notice and this permission notice shall be included in
|
|
97
|
+
all copies or substantial portions of the Software.
|
|
98
|
+
|
|
99
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
100
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
101
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
102
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
103
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
104
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
105
|
+
THE SOFTWARE.
|
|
106
|
+
=========================================
|
|
107
|
+
END OF chokidar@3.6.0 NOTICES AND INFORMATION
|
|
108
|
+
|
|
109
|
+
%% fill-range@7.1.1 NOTICES AND INFORMATION BEGIN HERE
|
|
110
|
+
=========================================
|
|
111
|
+
The MIT License (MIT)
|
|
112
|
+
|
|
113
|
+
Copyright (c) 2014-present, Jon Schlinkert.
|
|
114
|
+
|
|
115
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
116
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
117
|
+
in the Software without restriction, including without limitation the rights
|
|
118
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
119
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
120
|
+
furnished to do so, subject to the following conditions:
|
|
121
|
+
|
|
122
|
+
The above copyright notice and this permission notice shall be included in
|
|
123
|
+
all copies or substantial portions of the Software.
|
|
124
|
+
|
|
125
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
126
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
127
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
128
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
129
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
130
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
131
|
+
THE SOFTWARE.
|
|
132
|
+
=========================================
|
|
133
|
+
END OF fill-range@7.1.1 NOTICES AND INFORMATION
|
|
134
|
+
|
|
135
|
+
%% glob-parent@5.1.2 NOTICES AND INFORMATION BEGIN HERE
|
|
136
|
+
=========================================
|
|
137
|
+
The ISC License
|
|
138
|
+
|
|
139
|
+
Copyright (c) 2015, 2019 Elan Shanker
|
|
140
|
+
|
|
141
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
142
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
143
|
+
copyright notice and this permission notice appear in all copies.
|
|
144
|
+
|
|
145
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
146
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
147
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
148
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
149
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
150
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
151
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
152
|
+
=========================================
|
|
153
|
+
END OF glob-parent@5.1.2 NOTICES AND INFORMATION
|
|
154
|
+
|
|
155
|
+
%% is-binary-path@2.1.0 NOTICES AND INFORMATION BEGIN HERE
|
|
156
|
+
=========================================
|
|
157
|
+
MIT License
|
|
158
|
+
|
|
159
|
+
Copyright (c) 2019 Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com), Paul Miller (https://paulmillr.com)
|
|
160
|
+
|
|
161
|
+
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:
|
|
162
|
+
|
|
163
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
164
|
+
|
|
165
|
+
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.
|
|
166
|
+
=========================================
|
|
167
|
+
END OF is-binary-path@2.1.0 NOTICES AND INFORMATION
|
|
168
|
+
|
|
169
|
+
%% is-extglob@2.1.1 NOTICES AND INFORMATION BEGIN HERE
|
|
170
|
+
=========================================
|
|
171
|
+
The MIT License (MIT)
|
|
172
|
+
|
|
173
|
+
Copyright (c) 2014-2016, Jon Schlinkert
|
|
174
|
+
|
|
175
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
176
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
177
|
+
in the Software without restriction, including without limitation the rights
|
|
178
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
179
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
180
|
+
furnished to do so, subject to the following conditions:
|
|
181
|
+
|
|
182
|
+
The above copyright notice and this permission notice shall be included in
|
|
183
|
+
all copies or substantial portions of the Software.
|
|
184
|
+
|
|
185
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
186
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
187
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
188
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
189
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
190
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
191
|
+
THE SOFTWARE.
|
|
192
|
+
=========================================
|
|
193
|
+
END OF is-extglob@2.1.1 NOTICES AND INFORMATION
|
|
194
|
+
|
|
195
|
+
%% is-glob@4.0.3 NOTICES AND INFORMATION BEGIN HERE
|
|
196
|
+
=========================================
|
|
197
|
+
The MIT License (MIT)
|
|
198
|
+
|
|
199
|
+
Copyright (c) 2014-2017, Jon Schlinkert.
|
|
200
|
+
|
|
201
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
202
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
203
|
+
in the Software without restriction, including without limitation the rights
|
|
204
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
205
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
206
|
+
furnished to do so, subject to the following conditions:
|
|
207
|
+
|
|
208
|
+
The above copyright notice and this permission notice shall be included in
|
|
209
|
+
all copies or substantial portions of the Software.
|
|
210
|
+
|
|
211
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
212
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
213
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
214
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
215
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
216
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
217
|
+
THE SOFTWARE.
|
|
218
|
+
=========================================
|
|
219
|
+
END OF is-glob@4.0.3 NOTICES AND INFORMATION
|
|
220
|
+
|
|
221
|
+
%% is-number@7.0.0 NOTICES AND INFORMATION BEGIN HERE
|
|
222
|
+
=========================================
|
|
223
|
+
The MIT License (MIT)
|
|
224
|
+
|
|
225
|
+
Copyright (c) 2014-present, Jon Schlinkert.
|
|
226
|
+
|
|
227
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
228
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
229
|
+
in the Software without restriction, including without limitation the rights
|
|
230
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
231
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
232
|
+
furnished to do so, subject to the following conditions:
|
|
233
|
+
|
|
234
|
+
The above copyright notice and this permission notice shall be included in
|
|
235
|
+
all copies or substantial portions of the Software.
|
|
236
|
+
|
|
237
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
238
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
239
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
240
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
241
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
242
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
243
|
+
THE SOFTWARE.
|
|
244
|
+
=========================================
|
|
245
|
+
END OF is-number@7.0.0 NOTICES AND INFORMATION
|
|
246
|
+
|
|
247
|
+
%% normalize-path@3.0.0 NOTICES AND INFORMATION BEGIN HERE
|
|
248
|
+
=========================================
|
|
249
|
+
The MIT License (MIT)
|
|
250
|
+
|
|
251
|
+
Copyright (c) 2014-2018, Jon Schlinkert.
|
|
252
|
+
|
|
253
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
254
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
255
|
+
in the Software without restriction, including without limitation the rights
|
|
256
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
257
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
258
|
+
furnished to do so, subject to the following conditions:
|
|
259
|
+
|
|
260
|
+
The above copyright notice and this permission notice shall be included in
|
|
261
|
+
all copies or substantial portions of the Software.
|
|
262
|
+
|
|
263
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
264
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
265
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
266
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
267
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
268
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
269
|
+
THE SOFTWARE.
|
|
270
|
+
=========================================
|
|
271
|
+
END OF normalize-path@3.0.0 NOTICES AND INFORMATION
|
|
272
|
+
|
|
273
|
+
%% picomatch@2.3.2 NOTICES AND INFORMATION BEGIN HERE
|
|
274
|
+
=========================================
|
|
275
|
+
The MIT License (MIT)
|
|
276
|
+
|
|
277
|
+
Copyright (c) 2017-present, Jon Schlinkert.
|
|
278
|
+
|
|
279
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
280
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
281
|
+
in the Software without restriction, including without limitation the rights
|
|
282
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
283
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
284
|
+
furnished to do so, subject to the following conditions:
|
|
285
|
+
|
|
286
|
+
The above copyright notice and this permission notice shall be included in
|
|
287
|
+
all copies or substantial portions of the Software.
|
|
288
|
+
|
|
289
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
290
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
291
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
292
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
293
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
294
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
295
|
+
THE SOFTWARE.
|
|
296
|
+
=========================================
|
|
297
|
+
END OF picomatch@2.3.2 NOTICES AND INFORMATION
|
|
298
|
+
|
|
299
|
+
%% readdirp@3.6.0 NOTICES AND INFORMATION BEGIN HERE
|
|
300
|
+
=========================================
|
|
301
|
+
MIT License
|
|
302
|
+
|
|
303
|
+
Copyright (c) 2012-2019 Thorsten Lorenz, Paul Miller (https://paulmillr.com)
|
|
304
|
+
|
|
305
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
306
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
307
|
+
in the Software without restriction, including without limitation the rights
|
|
308
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
309
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
310
|
+
furnished to do so, subject to the following conditions:
|
|
311
|
+
|
|
312
|
+
The above copyright notice and this permission notice shall be included in all
|
|
313
|
+
copies or substantial portions of the Software.
|
|
314
|
+
|
|
315
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
316
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
317
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
318
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
319
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
320
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
321
|
+
SOFTWARE.
|
|
322
|
+
=========================================
|
|
323
|
+
END OF readdirp@3.6.0 NOTICES AND INFORMATION
|
|
324
|
+
|
|
325
|
+
%% to-regex-range@5.0.1 NOTICES AND INFORMATION BEGIN HERE
|
|
326
|
+
=========================================
|
|
327
|
+
The MIT License (MIT)
|
|
328
|
+
|
|
329
|
+
Copyright (c) 2015-present, Jon Schlinkert.
|
|
330
|
+
|
|
331
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
332
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
333
|
+
in the Software without restriction, including without limitation the rights
|
|
334
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
335
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
336
|
+
furnished to do so, subject to the following conditions:
|
|
337
|
+
|
|
338
|
+
The above copyright notice and this permission notice shall be included in
|
|
339
|
+
all copies or substantial portions of the Software.
|
|
340
|
+
|
|
341
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
342
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
343
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
344
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
345
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
346
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
347
|
+
THE SOFTWARE.
|
|
348
|
+
=========================================
|
|
349
|
+
END OF to-regex-range@5.0.1 NOTICES AND INFORMATION
|
|
350
|
+
|
|
351
|
+
SUMMARY
|
|
352
|
+
=========================================
|
|
353
|
+
Total Packages: 14
|
|
354
|
+
=========================================
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* ISC License
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2019, Mapbox
|
|
6
|
+
|
|
7
|
+
* Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
8
|
+
* with or without fee is hereby granted, provided that the above copyright notice
|
|
9
|
+
* and this permission notice appear in all copies.
|
|
10
|
+
*
|
|
11
|
+
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
12
|
+
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
13
|
+
* FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
14
|
+
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
15
|
+
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
16
|
+
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
17
|
+
* THIS SOFTWARE.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
'use strict';
|
|
21
|
+
|
|
22
|
+
module.exports = pixelmatch;
|
|
23
|
+
|
|
24
|
+
const defaultOptions = {
|
|
25
|
+
threshold: 0.1, // matching threshold (0 to 1); smaller is more sensitive
|
|
26
|
+
includeAA: false, // whether to skip anti-aliasing detection
|
|
27
|
+
alpha: 0.1, // opacity of original image in diff output
|
|
28
|
+
aaColor: [255, 255, 0], // color of anti-aliased pixels in diff output
|
|
29
|
+
diffColor: [255, 0, 0], // color of different pixels in diff output
|
|
30
|
+
diffColorAlt: null, // whether to detect dark on light differences between img1 and img2 and set an alternative color to differentiate between the two
|
|
31
|
+
diffMask: false // draw the diff over a transparent background (a mask)
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
function pixelmatch(img1, img2, output, width, height, options) {
|
|
35
|
+
|
|
36
|
+
if (!isPixelData(img1) || !isPixelData(img2) || (output && !isPixelData(output)))
|
|
37
|
+
throw new Error('Image data: Uint8Array, Uint8ClampedArray or Buffer expected.');
|
|
38
|
+
|
|
39
|
+
if (img1.length !== img2.length || (output && output.length !== img1.length))
|
|
40
|
+
throw new Error('Image sizes do not match.');
|
|
41
|
+
|
|
42
|
+
if (img1.length !== width * height * 4) throw new Error('Image data size does not match width/height.');
|
|
43
|
+
|
|
44
|
+
options = Object.assign({}, defaultOptions, options);
|
|
45
|
+
|
|
46
|
+
// check if images are identical
|
|
47
|
+
const len = width * height;
|
|
48
|
+
const a32 = new Uint32Array(img1.buffer, img1.byteOffset, len);
|
|
49
|
+
const b32 = new Uint32Array(img2.buffer, img2.byteOffset, len);
|
|
50
|
+
let identical = true;
|
|
51
|
+
|
|
52
|
+
for (let i = 0; i < len; i++) {
|
|
53
|
+
if (a32[i] !== b32[i]) { identical = false; break; }
|
|
54
|
+
}
|
|
55
|
+
if (identical) { // fast path if identical
|
|
56
|
+
if (output && !options.diffMask) {
|
|
57
|
+
for (let i = 0; i < len; i++) drawGrayPixel(img1, 4 * i, options.alpha, output);
|
|
58
|
+
}
|
|
59
|
+
return 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// maximum acceptable square distance between two colors;
|
|
63
|
+
// 35215 is the maximum possible value for the YIQ difference metric
|
|
64
|
+
const maxDelta = 35215 * options.threshold * options.threshold;
|
|
65
|
+
let diff = 0;
|
|
66
|
+
|
|
67
|
+
// compare each pixel of one image against the other one
|
|
68
|
+
for (let y = 0; y < height; y++) {
|
|
69
|
+
for (let x = 0; x < width; x++) {
|
|
70
|
+
|
|
71
|
+
const pos = (y * width + x) * 4;
|
|
72
|
+
|
|
73
|
+
// squared YUV distance between colors at this pixel position, negative if the img2 pixel is darker
|
|
74
|
+
const delta = colorDelta(img1, img2, pos, pos);
|
|
75
|
+
|
|
76
|
+
// the color difference is above the threshold
|
|
77
|
+
if (Math.abs(delta) > maxDelta) {
|
|
78
|
+
// check it's a real rendering difference or just anti-aliasing
|
|
79
|
+
if (!options.includeAA && (antialiased(img1, x, y, width, height, img2) ||
|
|
80
|
+
antialiased(img2, x, y, width, height, img1))) {
|
|
81
|
+
// one of the pixels is anti-aliasing; draw as yellow and do not count as difference
|
|
82
|
+
// note that we do not include such pixels in a mask
|
|
83
|
+
if (output && !options.diffMask) drawPixel(output, pos, ...options.aaColor);
|
|
84
|
+
|
|
85
|
+
} else {
|
|
86
|
+
// found substantial difference not caused by anti-aliasing; draw it as such
|
|
87
|
+
if (output) {
|
|
88
|
+
drawPixel(output, pos, ...(delta < 0 && options.diffColorAlt || options.diffColor));
|
|
89
|
+
}
|
|
90
|
+
diff++;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
} else if (output) {
|
|
94
|
+
// pixels are similar; draw background as grayscale image blended with white
|
|
95
|
+
if (!options.diffMask) drawGrayPixel(img1, pos, options.alpha, output);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// return the number of different pixels
|
|
101
|
+
return diff;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function isPixelData(arr) {
|
|
105
|
+
// work around instanceof Uint8Array not working properly in some Jest environments
|
|
106
|
+
return ArrayBuffer.isView(arr) && arr.constructor.BYTES_PER_ELEMENT === 1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// check if a pixel is likely a part of anti-aliasing;
|
|
110
|
+
// based on "Anti-aliased Pixel and Intensity Slope Detector" paper by V. Vysniauskas, 2009
|
|
111
|
+
|
|
112
|
+
function antialiased(img, x1, y1, width, height, img2) {
|
|
113
|
+
const x0 = Math.max(x1 - 1, 0);
|
|
114
|
+
const y0 = Math.max(y1 - 1, 0);
|
|
115
|
+
const x2 = Math.min(x1 + 1, width - 1);
|
|
116
|
+
const y2 = Math.min(y1 + 1, height - 1);
|
|
117
|
+
const pos = (y1 * width + x1) * 4;
|
|
118
|
+
let zeroes = x1 === x0 || x1 === x2 || y1 === y0 || y1 === y2 ? 1 : 0;
|
|
119
|
+
let min = 0;
|
|
120
|
+
let max = 0;
|
|
121
|
+
let minX, minY, maxX, maxY;
|
|
122
|
+
|
|
123
|
+
// go through 8 adjacent pixels
|
|
124
|
+
for (let x = x0; x <= x2; x++) {
|
|
125
|
+
for (let y = y0; y <= y2; y++) {
|
|
126
|
+
if (x === x1 && y === y1) continue;
|
|
127
|
+
|
|
128
|
+
// brightness delta between the center pixel and adjacent one
|
|
129
|
+
const delta = colorDelta(img, img, pos, (y * width + x) * 4, true);
|
|
130
|
+
|
|
131
|
+
// count the number of equal, darker and brighter adjacent pixels
|
|
132
|
+
if (delta === 0) {
|
|
133
|
+
zeroes++;
|
|
134
|
+
// if found more than 2 equal siblings, it's definitely not anti-aliasing
|
|
135
|
+
if (zeroes > 2) return false;
|
|
136
|
+
|
|
137
|
+
// remember the darkest pixel
|
|
138
|
+
} else if (delta < min) {
|
|
139
|
+
min = delta;
|
|
140
|
+
minX = x;
|
|
141
|
+
minY = y;
|
|
142
|
+
|
|
143
|
+
// remember the brightest pixel
|
|
144
|
+
} else if (delta > max) {
|
|
145
|
+
max = delta;
|
|
146
|
+
maxX = x;
|
|
147
|
+
maxY = y;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// if there are no both darker and brighter pixels among siblings, it's not anti-aliasing
|
|
153
|
+
if (min === 0 || max === 0) return false;
|
|
154
|
+
|
|
155
|
+
// if either the darkest or the brightest pixel has 3+ equal siblings in both images
|
|
156
|
+
// (definitely not anti-aliased), this pixel is anti-aliased
|
|
157
|
+
return (hasManySiblings(img, minX, minY, width, height) && hasManySiblings(img2, minX, minY, width, height)) ||
|
|
158
|
+
(hasManySiblings(img, maxX, maxY, width, height) && hasManySiblings(img2, maxX, maxY, width, height));
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// check if a pixel has 3+ adjacent pixels of the same color.
|
|
162
|
+
function hasManySiblings(img, x1, y1, width, height) {
|
|
163
|
+
const x0 = Math.max(x1 - 1, 0);
|
|
164
|
+
const y0 = Math.max(y1 - 1, 0);
|
|
165
|
+
const x2 = Math.min(x1 + 1, width - 1);
|
|
166
|
+
const y2 = Math.min(y1 + 1, height - 1);
|
|
167
|
+
const pos = (y1 * width + x1) * 4;
|
|
168
|
+
let zeroes = x1 === x0 || x1 === x2 || y1 === y0 || y1 === y2 ? 1 : 0;
|
|
169
|
+
|
|
170
|
+
// go through 8 adjacent pixels
|
|
171
|
+
for (let x = x0; x <= x2; x++) {
|
|
172
|
+
for (let y = y0; y <= y2; y++) {
|
|
173
|
+
if (x === x1 && y === y1) continue;
|
|
174
|
+
|
|
175
|
+
const pos2 = (y * width + x) * 4;
|
|
176
|
+
if (img[pos] === img[pos2] &&
|
|
177
|
+
img[pos + 1] === img[pos2 + 1] &&
|
|
178
|
+
img[pos + 2] === img[pos2 + 2] &&
|
|
179
|
+
img[pos + 3] === img[pos2 + 3]) zeroes++;
|
|
180
|
+
|
|
181
|
+
if (zeroes > 2) return true;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
return false;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// calculate color difference according to the paper "Measuring perceived color difference
|
|
189
|
+
// using YIQ NTSC transmission color space in mobile applications" by Y. Kotsarenko and F. Ramos
|
|
190
|
+
|
|
191
|
+
function colorDelta(img1, img2, k, m, yOnly) {
|
|
192
|
+
let r1 = img1[k + 0];
|
|
193
|
+
let g1 = img1[k + 1];
|
|
194
|
+
let b1 = img1[k + 2];
|
|
195
|
+
let a1 = img1[k + 3];
|
|
196
|
+
|
|
197
|
+
let r2 = img2[m + 0];
|
|
198
|
+
let g2 = img2[m + 1];
|
|
199
|
+
let b2 = img2[m + 2];
|
|
200
|
+
let a2 = img2[m + 3];
|
|
201
|
+
|
|
202
|
+
if (a1 === a2 && r1 === r2 && g1 === g2 && b1 === b2) return 0;
|
|
203
|
+
|
|
204
|
+
if (a1 < 255) {
|
|
205
|
+
a1 /= 255;
|
|
206
|
+
r1 = blend(r1, a1);
|
|
207
|
+
g1 = blend(g1, a1);
|
|
208
|
+
b1 = blend(b1, a1);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
if (a2 < 255) {
|
|
212
|
+
a2 /= 255;
|
|
213
|
+
r2 = blend(r2, a2);
|
|
214
|
+
g2 = blend(g2, a2);
|
|
215
|
+
b2 = blend(b2, a2);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
const y1 = rgb2y(r1, g1, b1);
|
|
219
|
+
const y2 = rgb2y(r2, g2, b2);
|
|
220
|
+
const y = y1 - y2;
|
|
221
|
+
|
|
222
|
+
if (yOnly) return y; // brightness difference only
|
|
223
|
+
|
|
224
|
+
const i = rgb2i(r1, g1, b1) - rgb2i(r2, g2, b2);
|
|
225
|
+
const q = rgb2q(r1, g1, b1) - rgb2q(r2, g2, b2);
|
|
226
|
+
|
|
227
|
+
const delta = 0.5053 * y * y + 0.299 * i * i + 0.1957 * q * q;
|
|
228
|
+
|
|
229
|
+
// encode whether the pixel lightens or darkens in the sign
|
|
230
|
+
return y1 > y2 ? -delta : delta;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
function rgb2y(r, g, b) { return r * 0.29889531 + g * 0.58662247 + b * 0.11448223; }
|
|
234
|
+
function rgb2i(r, g, b) { return r * 0.59597799 - g * 0.27417610 - b * 0.32180189; }
|
|
235
|
+
function rgb2q(r, g, b) { return r * 0.21147017 - g * 0.52261711 + b * 0.31114694; }
|
|
236
|
+
|
|
237
|
+
// blend semi-transparent color with white
|
|
238
|
+
function blend(c, a) {
|
|
239
|
+
return 255 + (c - 255) * a;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
function drawPixel(output, pos, r, g, b) {
|
|
243
|
+
output[pos + 0] = r;
|
|
244
|
+
output[pos + 1] = g;
|
|
245
|
+
output[pos + 2] = b;
|
|
246
|
+
output[pos + 3] = 255;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
function drawGrayPixel(img, i, alpha, output) {
|
|
250
|
+
const r = img[i + 0];
|
|
251
|
+
const g = img[i + 1];
|
|
252
|
+
const b = img[i + 2];
|
|
253
|
+
const val = blend(rgb2y(r, g, b), alpha * img[i + 3] / 255);
|
|
254
|
+
drawPixel(output, i, val, val, val);
|
|
255
|
+
}
|
package/vendor/playwright-cli/node_modules/playwright-core/lib/tools/backend/browserBackend.js
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var browserBackend_exports = {};
|
|
20
|
+
__export(browserBackend_exports, {
|
|
21
|
+
BrowserBackend: () => BrowserBackend
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(browserBackend_exports);
|
|
24
|
+
var import_context = require("./context");
|
|
25
|
+
var import_response = require("./response");
|
|
26
|
+
var import_sessionLog = require("./sessionLog");
|
|
27
|
+
var import_utilsBundle = require("../../utilsBundle");
|
|
28
|
+
class BrowserBackend {
|
|
29
|
+
constructor(config, browserContext, tools) {
|
|
30
|
+
this._config = config;
|
|
31
|
+
this._tools = tools;
|
|
32
|
+
this.browserContext = browserContext;
|
|
33
|
+
}
|
|
34
|
+
async initialize(clientInfo) {
|
|
35
|
+
this._sessionLog = this._config.saveSession ? await import_sessionLog.SessionLog.create(this._config, clientInfo.cwd) : void 0;
|
|
36
|
+
this._context = new import_context.Context(this.browserContext, {
|
|
37
|
+
config: this._config,
|
|
38
|
+
sessionLog: this._sessionLog,
|
|
39
|
+
cwd: clientInfo.cwd
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async dispose() {
|
|
43
|
+
await this._context?.dispose().catch((e) => (0, import_utilsBundle.debug)("pw:tools:error")(e));
|
|
44
|
+
}
|
|
45
|
+
async callTool(name, rawArguments = {}) {
|
|
46
|
+
const tool = this._tools.find((tool2) => tool2.schema.name === name);
|
|
47
|
+
if (!tool) {
|
|
48
|
+
return {
|
|
49
|
+
content: [{ type: "text", text: `### Error
|
|
50
|
+
Tool "${name}" not found` }],
|
|
51
|
+
isError: true
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
const parsedArguments = tool.schema.inputSchema.parse(rawArguments);
|
|
55
|
+
const cwd = rawArguments._meta?.cwd;
|
|
56
|
+
const context = this._context;
|
|
57
|
+
const response = new import_response.Response(context, name, parsedArguments, cwd);
|
|
58
|
+
context.setRunningTool(name);
|
|
59
|
+
let responseObject;
|
|
60
|
+
try {
|
|
61
|
+
await tool.handle(context, parsedArguments, response);
|
|
62
|
+
responseObject = await response.serialize();
|
|
63
|
+
this._sessionLog?.logResponse(name, parsedArguments, responseObject);
|
|
64
|
+
} catch (error) {
|
|
65
|
+
return {
|
|
66
|
+
content: [{ type: "text", text: `### Error
|
|
67
|
+
${String(error)}` }],
|
|
68
|
+
isError: true
|
|
69
|
+
};
|
|
70
|
+
} finally {
|
|
71
|
+
context.setRunningTool(void 0);
|
|
72
|
+
}
|
|
73
|
+
return responseObject;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
77
|
+
0 && (module.exports = {
|
|
78
|
+
BrowserBackend
|
|
79
|
+
});
|