chrome-devtools-frontend 1.0.1367881 → 1.0.1376716

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.
Files changed (1157) hide show
  1. package/.vscode/extensions.json +4 -4
  2. package/config/gni/devtools_grd_files.gni +30 -8
  3. package/config/gni/devtools_image_files.gni +3 -0
  4. package/docs/README.md +1 -5
  5. package/docs/checklist/javascript.md +45 -8
  6. package/docs/contributing/design.md +1 -1
  7. package/docs/contributing/settings-experiments-features.md +1 -1
  8. package/docs/cookbook/README.md +12 -0
  9. package/docs/cookbook/create_new_issues.md +91 -0
  10. package/docs/cookbook/dependencies.md +103 -0
  11. package/docs/cookbook/localization.md +320 -0
  12. package/docs/cookbook/navbar.md +8 -0
  13. package/docs/cookbook/release_management.md +60 -0
  14. package/docs/cookbook/uma_metrics.md +121 -0
  15. package/docs/dependencies.md +1 -100
  16. package/docs/l10n.md +1 -295
  17. package/docs/release_management.md +1 -53
  18. package/extensions/cxx_debugging/e2e/standalone/MemoryInspector_test.ts +1 -1
  19. package/extensions/cxx_debugging/e2e/tsconfig.json +1 -0
  20. package/extensions/cxx_debugging/src/ExtensionOptions.ts +6 -7
  21. package/extensions/cxx_debugging/tests/CreditsItem_test.ts +4 -4
  22. package/front_end/.eslintrc.js +0 -1
  23. package/front_end/Images/src/center-focus-weak.svg +1 -0
  24. package/front_end/Images/src/history.svg +3 -0
  25. package/front_end/Images/src/home.svg +1 -0
  26. package/front_end/core/common/Color.ts +10 -0
  27. package/front_end/core/common/ResourceType.test.ts +26 -26
  28. package/front_end/core/common/ResourceType.ts +21 -12
  29. package/front_end/core/common/Revealer.ts +5 -0
  30. package/front_end/core/common/Settings.ts +5 -1
  31. package/front_end/core/host/AidaClient.ts +58 -0
  32. package/front_end/core/host/InspectorFrontendHost.ts +1 -1
  33. package/front_end/core/host/InspectorFrontendHostAPI.ts +8 -1
  34. package/front_end/core/host/UserMetrics.ts +16 -13
  35. package/front_end/core/i18n/locales/af.json +598 -109
  36. package/front_end/core/i18n/locales/am.json +607 -118
  37. package/front_end/core/i18n/locales/ar.json +888 -399
  38. package/front_end/core/i18n/locales/as.json +603 -114
  39. package/front_end/core/i18n/locales/az.json +606 -117
  40. package/front_end/core/i18n/locales/be.json +599 -110
  41. package/front_end/core/i18n/locales/bg.json +598 -109
  42. package/front_end/core/i18n/locales/bn.json +609 -120
  43. package/front_end/core/i18n/locales/bs.json +607 -118
  44. package/front_end/core/i18n/locales/ca.json +601 -112
  45. package/front_end/core/i18n/locales/cs.json +605 -116
  46. package/front_end/core/i18n/locales/cy.json +603 -114
  47. package/front_end/core/i18n/locales/da.json +599 -110
  48. package/front_end/core/i18n/locales/de.json +604 -115
  49. package/front_end/core/i18n/locales/el.json +596 -107
  50. package/front_end/core/i18n/locales/en-GB.json +599 -110
  51. package/front_end/core/i18n/locales/es-419.json +600 -111
  52. package/front_end/core/i18n/locales/es.json +602 -113
  53. package/front_end/core/i18n/locales/et.json +601 -112
  54. package/front_end/core/i18n/locales/eu.json +605 -116
  55. package/front_end/core/i18n/locales/fa.json +609 -120
  56. package/front_end/core/i18n/locales/fi.json +598 -109
  57. package/front_end/core/i18n/locales/fil.json +605 -116
  58. package/front_end/core/i18n/locales/fr-CA.json +602 -113
  59. package/front_end/core/i18n/locales/fr.json +600 -111
  60. package/front_end/core/i18n/locales/gl.json +595 -106
  61. package/front_end/core/i18n/locales/gu.json +605 -116
  62. package/front_end/core/i18n/locales/he.json +603 -114
  63. package/front_end/core/i18n/locales/hi.json +600 -111
  64. package/front_end/core/i18n/locales/hr.json +600 -111
  65. package/front_end/core/i18n/locales/hu.json +600 -111
  66. package/front_end/core/i18n/locales/hy.json +599 -110
  67. package/front_end/core/i18n/locales/id.json +603 -114
  68. package/front_end/core/i18n/locales/is.json +598 -109
  69. package/front_end/core/i18n/locales/it.json +602 -113
  70. package/front_end/core/i18n/locales/ja.json +596 -107
  71. package/front_end/core/i18n/locales/ka.json +597 -108
  72. package/front_end/core/i18n/locales/kk.json +884 -395
  73. package/front_end/core/i18n/locales/km.json +605 -116
  74. package/front_end/core/i18n/locales/kn.json +606 -117
  75. package/front_end/core/i18n/locales/ko.json +591 -102
  76. package/front_end/core/i18n/locales/ky.json +599 -110
  77. package/front_end/core/i18n/locales/lo.json +608 -119
  78. package/front_end/core/i18n/locales/lt.json +597 -108
  79. package/front_end/core/i18n/locales/lv.json +606 -117
  80. package/front_end/core/i18n/locales/mk.json +885 -396
  81. package/front_end/core/i18n/locales/ml.json +601 -112
  82. package/front_end/core/i18n/locales/mn.json +599 -110
  83. package/front_end/core/i18n/locales/mr.json +601 -112
  84. package/front_end/core/i18n/locales/ms.json +602 -113
  85. package/front_end/core/i18n/locales/my.json +604 -115
  86. package/front_end/core/i18n/locales/ne.json +609 -120
  87. package/front_end/core/i18n/locales/nl.json +597 -108
  88. package/front_end/core/i18n/locales/no.json +601 -112
  89. package/front_end/core/i18n/locales/or.json +601 -112
  90. package/front_end/core/i18n/locales/pa.json +600 -111
  91. package/front_end/core/i18n/locales/pl.json +601 -112
  92. package/front_end/core/i18n/locales/pt-PT.json +600 -111
  93. package/front_end/core/i18n/locales/pt.json +596 -107
  94. package/front_end/core/i18n/locales/ro.json +601 -112
  95. package/front_end/core/i18n/locales/ru.json +609 -120
  96. package/front_end/core/i18n/locales/si.json +603 -114
  97. package/front_end/core/i18n/locales/sk.json +599 -110
  98. package/front_end/core/i18n/locales/sl.json +601 -112
  99. package/front_end/core/i18n/locales/sq.json +602 -113
  100. package/front_end/core/i18n/locales/sr-Latn.json +598 -109
  101. package/front_end/core/i18n/locales/sr.json +598 -109
  102. package/front_end/core/i18n/locales/sv.json +600 -111
  103. package/front_end/core/i18n/locales/sw.json +606 -117
  104. package/front_end/core/i18n/locales/ta.json +892 -403
  105. package/front_end/core/i18n/locales/te.json +604 -115
  106. package/front_end/core/i18n/locales/th.json +597 -108
  107. package/front_end/core/i18n/locales/tr.json +601 -112
  108. package/front_end/core/i18n/locales/uk.json +598 -109
  109. package/front_end/core/i18n/locales/ur.json +604 -115
  110. package/front_end/core/i18n/locales/uz.json +599 -110
  111. package/front_end/core/i18n/locales/vi.json +602 -113
  112. package/front_end/core/i18n/locales/zh-HK.json +599 -110
  113. package/front_end/core/i18n/locales/zh-TW.json +595 -106
  114. package/front_end/core/i18n/locales/zh.json +601 -112
  115. package/front_end/core/i18n/locales/zu.json +607 -118
  116. package/front_end/core/root/Runtime.ts +15 -7
  117. package/front_end/{panels/animation → core/sdk}/AnimationModel.test.ts +85 -6
  118. package/front_end/{panels/animation → core/sdk}/AnimationModel.ts +302 -36
  119. package/front_end/core/sdk/CSSContainerQuery.ts +4 -2
  120. package/front_end/core/sdk/CSSMatchedStyles.test.ts +4 -0
  121. package/front_end/core/sdk/CSSMatchedStyles.ts +13 -10
  122. package/front_end/core/sdk/CSSMetadata.ts +6 -0
  123. package/front_end/core/sdk/CSSStyleDeclaration.test.ts +10 -0
  124. package/front_end/core/sdk/CSSStyleDeclaration.ts +1 -1
  125. package/front_end/core/sdk/DOMModel.ts +3 -3
  126. package/front_end/core/sdk/DebuggerModel.test.ts +2 -0
  127. package/front_end/core/sdk/EmulationModel.ts +32 -0
  128. package/front_end/core/sdk/EnhancedTracesParser.test.ts +4 -4
  129. package/front_end/core/sdk/EnhancedTracesParser.ts +4 -5
  130. package/front_end/core/sdk/RehydratingConnection.test.ts +190 -0
  131. package/front_end/core/sdk/RehydratingConnection.ts +310 -0
  132. package/front_end/core/sdk/RehydratingObject.ts +26 -2
  133. package/front_end/core/sdk/RuntimeModel.ts +31 -0
  134. package/front_end/core/sdk/Script.ts +1 -1
  135. package/front_end/core/sdk/TraceObject.ts +8 -0
  136. package/front_end/core/sdk/sdk.ts +2 -0
  137. package/front_end/devtools_compatibility.js +0 -1
  138. package/front_end/entrypoints/heap_snapshot_worker/HeapSnapshot.ts +95 -74
  139. package/front_end/entrypoints/main/MainImpl.ts +10 -0
  140. package/front_end/generated/InspectorBackendCommands.js +10 -9
  141. package/front_end/generated/SupportedCSSProperties.js +15 -1
  142. package/front_end/generated/protocol-mapping.d.ts +4 -3
  143. package/front_end/generated/protocol-proxy-api.d.ts +4 -3
  144. package/front_end/generated/protocol.ts +31 -2
  145. package/front_end/legacy_test_runner/network_test_runner/network_test_runner.js +1 -0
  146. package/front_end/models/har/HARFormat.ts +1 -0
  147. package/front_end/models/har/Importer.test.ts +16 -2
  148. package/front_end/models/har/Importer.ts +2 -2
  149. package/front_end/models/har/Log.test.ts +23 -0
  150. package/front_end/models/har/Log.ts +6 -4
  151. package/front_end/models/heap_snapshot_model/HeapSnapshotModel.ts +4 -2
  152. package/front_end/models/issues_manager/AttributionReportingIssue.ts +58 -18
  153. package/front_end/models/issues_manager/CookieIssue.ts +12 -0
  154. package/front_end/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
  155. package/front_end/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
  156. package/front_end/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
  157. package/front_end/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
  158. package/front_end/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
  159. package/front_end/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
  160. package/front_end/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
  161. package/front_end/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
  162. package/front_end/models/javascript_metadata/NativeFunctions.js +69 -18
  163. package/front_end/models/live-metrics/LiveMetrics.ts +116 -19
  164. package/front_end/models/live-metrics/web-vitals-injected/OnEachInteraction.ts +24 -61
  165. package/front_end/models/live-metrics/web-vitals-injected/spec/spec.ts +49 -21
  166. package/front_end/models/live-metrics/web-vitals-injected/web-vitals-injected.ts +43 -5
  167. package/front_end/models/timeline_model/TimelineModelFilter.ts +2 -2
  168. package/front_end/models/trace/Processor.ts +5 -1
  169. package/front_end/models/trace/extras/ThirdParties.test.ts +117 -0
  170. package/front_end/models/trace/extras/ThirdParties.ts +207 -0
  171. package/front_end/models/trace/extras/extras.ts +1 -0
  172. package/front_end/models/trace/handlers/FramesHandler.ts +12 -5
  173. package/front_end/models/trace/handlers/InitiatorsHandler.test.ts +40 -0
  174. package/front_end/models/trace/handlers/InitiatorsHandler.ts +9 -0
  175. package/front_end/models/trace/handlers/LayoutShiftsHandler.ts +17 -0
  176. package/front_end/models/trace/handlers/NetworkRequestsHandler.ts +2 -2
  177. package/front_end/models/trace/handlers/RendererHandler.test.ts +4 -4
  178. package/front_end/models/trace/helpers/Timing.test.ts +29 -0
  179. package/front_end/models/trace/helpers/Timing.ts +18 -0
  180. package/front_end/models/trace/helpers/TreeHelpers.test.ts +52 -34
  181. package/front_end/models/trace/helpers/TreeHelpers.ts +135 -45
  182. package/front_end/models/trace/insights/CumulativeLayoutShift.test.ts +22 -0
  183. package/front_end/models/trace/insights/CumulativeLayoutShift.ts +62 -20
  184. package/front_end/models/trace/insights/ThirdPartyWeb.ts +13 -183
  185. package/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts +4 -4
  186. package/front_end/models/trace/lantern/core/NetworkAnalyzer.ts +9 -5
  187. package/front_end/models/trace/lantern/simulation/Simulator.ts +1 -1
  188. package/front_end/models/trace/lantern/testing/MetricTestUtils.ts +4 -0
  189. package/front_end/models/trace/types/TraceEvents.ts +68 -2
  190. package/front_end/panels/accessibility/AccessibilitySidebarView.ts +1 -1
  191. package/front_end/panels/animation/AnimationGroupPreviewUI.ts +3 -3
  192. package/front_end/panels/animation/AnimationTimeline.test.ts +15 -15
  193. package/front_end/panels/animation/AnimationTimeline.ts +85 -53
  194. package/front_end/panels/animation/AnimationUI.ts +5 -6
  195. package/front_end/panels/animation/animation-meta.ts +15 -0
  196. package/front_end/panels/animation/animation.ts +0 -4
  197. package/front_end/panels/application/ApplicationPanelSidebar.test.ts +16 -0
  198. package/front_end/panels/application/ApplicationPanelSidebar.ts +13 -9
  199. package/front_end/panels/application/ExtensionStorageItemsView.test.ts +72 -0
  200. package/front_end/panels/application/ExtensionStorageItemsView.ts +23 -1
  201. package/front_end/panels/application/ExtensionStorageModel.test.ts +15 -0
  202. package/front_end/panels/application/ExtensionStorageModel.ts +10 -1
  203. package/front_end/panels/application/OpenedWindowDetailsView.ts +2 -3
  204. package/front_end/panels/application/SharedStorageItemsView.test.ts +1 -20
  205. package/front_end/panels/application/components/BackForwardCacheStrings.ts +1 -0
  206. package/front_end/panels/application/components/BounceTrackingMitigationsView.ts +3 -7
  207. package/front_end/panels/application/components/EndpointsGrid.ts +1 -2
  208. package/front_end/panels/application/components/FrameDetailsView.ts +8 -8
  209. package/front_end/panels/application/components/InterestGroupAccessGrid.ts +4 -8
  210. package/front_end/panels/application/components/PermissionsPolicySection.ts +3 -4
  211. package/front_end/panels/application/components/ReportsGrid.ts +2 -4
  212. package/front_end/panels/application/components/SharedStorageAccessGrid.ts +4 -9
  213. package/front_end/panels/application/components/StackTrace.ts +6 -9
  214. package/front_end/panels/application/components/StorageMetadataView.ts +1 -2
  215. package/front_end/panels/application/components/TrustTokensView.ts +1 -2
  216. package/front_end/panels/application/preloading/PreloadingView.ts +5 -5
  217. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.test.ts +2 -2
  218. package/front_end/panels/application/preloading/components/MismatchedPreloadingGrid.ts +3 -9
  219. package/front_end/panels/application/preloading/components/PreloadingDetailsReportView.ts +2 -5
  220. package/front_end/panels/application/preloading/components/PreloadingDisabledInfobar.ts +2 -2
  221. package/front_end/panels/application/preloading/components/PreloadingGrid.test.ts +1 -1
  222. package/front_end/panels/application/preloading/components/PreloadingGrid.ts +3 -6
  223. package/front_end/panels/application/preloading/components/PreloadingMismatchedHeadersGrid.ts +1 -3
  224. package/front_end/panels/application/preloading/components/PreloadingString.ts +5 -0
  225. package/front_end/panels/application/preloading/components/RuleSetDetailsView.ts +2 -3
  226. package/front_end/panels/application/preloading/components/RuleSetGrid.ts +7 -10
  227. package/front_end/panels/autofill/AutofillView.ts +2 -5
  228. package/front_end/panels/console/ConsoleView.ts +1 -1
  229. package/front_end/panels/css_overview/components/CSSOverviewStartView.ts +3 -5
  230. package/front_end/panels/elements/AccessibilityTreeUtils.ts +4 -6
  231. package/front_end/panels/elements/CSSRuleValidator.ts +0 -5
  232. package/front_end/panels/elements/ColorSwatchPopoverIcon.ts +0 -2
  233. package/front_end/panels/elements/ElementStatePaneWidget.ts +5 -0
  234. package/front_end/panels/elements/ElementsPanel.ts +4 -4
  235. package/front_end/panels/elements/ElementsTreeElement.ts +1 -1
  236. package/front_end/panels/elements/StylePropertyTreeElement.test.ts +90 -0
  237. package/front_end/panels/elements/StylePropertyTreeElement.ts +29 -2
  238. package/front_end/panels/elements/components/ElementsBreadcrumbs.ts +3 -5
  239. package/front_end/panels/elements/components/LayoutPane.ts +2 -3
  240. package/front_end/panels/elements/components/QueryContainer.ts +3 -5
  241. package/front_end/panels/elements/stylePropertiesTreeOutline.css +13 -0
  242. package/front_end/panels/emulation/components/DeviceSizeInputElement.ts +0 -2
  243. package/front_end/panels/event_listeners/EventListenersView.ts +2 -2
  244. package/front_end/panels/event_listeners/eventListenersView.css +4 -3
  245. package/front_end/panels/explain/components/ConsoleInsight.test.ts +56 -8
  246. package/front_end/panels/explain/components/ConsoleInsight.ts +53 -36
  247. package/front_end/panels/explain/explain-meta.ts +1 -12
  248. package/front_end/panels/freestyler/AiAgent.test.ts +92 -12
  249. package/front_end/panels/freestyler/AiAgent.ts +341 -56
  250. package/front_end/panels/freestyler/DrJonesFileAgent.test.ts +70 -43
  251. package/front_end/panels/freestyler/DrJonesFileAgent.ts +75 -79
  252. package/front_end/panels/freestyler/DrJonesNetworkAgent.test.ts +135 -72
  253. package/front_end/panels/freestyler/DrJonesNetworkAgent.ts +219 -117
  254. package/front_end/panels/freestyler/DrJonesPerformanceAgent.test.ts +102 -56
  255. package/front_end/panels/freestyler/DrJonesPerformanceAgent.ts +118 -114
  256. package/front_end/panels/freestyler/FreestylerAgent.test.ts +108 -100
  257. package/front_end/panels/freestyler/FreestylerAgent.ts +65 -183
  258. package/front_end/panels/freestyler/FreestylerEvaluateAction.test.ts +40 -36
  259. package/front_end/panels/freestyler/FreestylerEvaluateAction.ts +15 -14
  260. package/front_end/panels/freestyler/FreestylerPanel.test.ts +548 -15
  261. package/front_end/panels/freestyler/FreestylerPanel.ts +385 -132
  262. package/front_end/panels/freestyler/components/FreestylerChatUi.test.ts +34 -4
  263. package/front_end/panels/freestyler/components/FreestylerChatUi.ts +186 -92
  264. package/front_end/panels/freestyler/components/UserActionRow.test.ts +60 -0
  265. package/front_end/panels/freestyler/components/{ProvideFeedback.ts → UserActionRow.ts} +42 -16
  266. package/front_end/panels/freestyler/components/freestylerChatUi.css +100 -97
  267. package/front_end/panels/freestyler/components/userActionRow.css +149 -0
  268. package/front_end/panels/freestyler/freestyler-meta.ts +50 -23
  269. package/front_end/panels/freestyler/freestyler.ts +1 -1
  270. package/front_end/panels/issues/AttributionReportingIssueDetailsView.ts +14 -0
  271. package/front_end/panels/issues/IssueAggregator.ts +10 -1
  272. package/front_end/panels/issues/components/ElementsPanelLink.ts +0 -1
  273. package/front_end/panels/issues/components/HideIssuesMenu.ts +12 -4
  274. package/front_end/panels/lighthouse/LighthouseStartView.ts +1 -1
  275. package/front_end/panels/linear_memory_inspector/LinearMemoryInspectorController.ts +2 -2
  276. package/front_end/panels/linear_memory_inspector/components/LinearMemoryHighlightChipList.ts +1 -2
  277. package/front_end/panels/linear_memory_inspector/components/LinearMemoryInspector.ts +7 -12
  278. package/front_end/panels/linear_memory_inspector/components/LinearMemoryValueInterpreter.ts +3 -4
  279. package/front_end/panels/linear_memory_inspector/components/ValueInterpreterDisplay.ts +1 -2
  280. package/front_end/panels/network/BinaryResourceView.ts +3 -2
  281. package/front_end/panels/network/NetworkDataGridNode.test.ts +29 -0
  282. package/front_end/panels/network/NetworkDataGridNode.ts +56 -5
  283. package/front_end/panels/network/NetworkLogView.test.ts +29 -0
  284. package/front_end/panels/network/NetworkLogView.ts +2 -2
  285. package/front_end/panels/network/NetworkPanel.test.ts +3 -22
  286. package/front_end/panels/network/NetworkPanel.ts +26 -7
  287. package/front_end/panels/network/NetworkWaterfallColumn.ts +2 -0
  288. package/front_end/panels/network/RequestResponseView.test.ts +2 -2
  289. package/front_end/panels/network/RequestResponseView.ts +6 -10
  290. package/front_end/panels/network/ResourceWebSocketFrameView.ts +3 -1
  291. package/front_end/panels/network/components/HeaderSectionRow.ts +11 -12
  292. package/front_end/panels/network/components/RequestHeaderSection.ts +4 -9
  293. package/front_end/panels/network/components/RequestHeadersView.css +7 -0
  294. package/front_end/panels/network/components/RequestTrustTokensView.ts +1 -1
  295. package/front_end/panels/network/network.ts +0 -2
  296. package/front_end/panels/network/networkConfigView.css +8 -7
  297. package/front_end/panels/network/networkLogView.css +32 -2
  298. package/front_end/panels/network/networkPanel.css +2 -1
  299. package/front_end/panels/profiler/HeapSnapshotDataGrids.ts +11 -10
  300. package/front_end/panels/profiler/HeapSnapshotGridNodes.ts +12 -8
  301. package/front_end/panels/profiler/HeapSnapshotProxy.ts +6 -6
  302. package/front_end/panels/protocol_monitor/components/JSONEditor.ts +5 -5
  303. package/front_end/panels/recorder/components/StartView.ts +4 -5
  304. package/front_end/panels/recorder/components/recordingView.css +1 -4
  305. package/front_end/panels/recorder/components/selectButton.css +6 -50
  306. package/front_end/panels/recorder/models/RecorderShortcutHelper.ts +1 -1
  307. package/front_end/panels/recorder/models/RecordingSession.ts +4 -4
  308. package/front_end/panels/recorder/recorderController.css +38 -18
  309. package/front_end/panels/screencast/ScreencastApp.ts +1 -1
  310. package/front_end/panels/screencast/ScreencastView.ts +1 -1
  311. package/front_end/panels/search/SearchView.ts +0 -2
  312. package/front_end/panels/search/searchView.css +5 -1
  313. package/front_end/panels/security/CookieReportTreeElement.ts +26 -0
  314. package/front_end/panels/security/OriginTreeElement.ts +20 -7
  315. package/front_end/panels/security/SecurityPanel.ts +64 -15
  316. package/front_end/panels/security/{SecurityAndPrivacyPanelSidebar.ts → SecurityPanelSidebar.ts} +24 -13
  317. package/front_end/panels/security/SecurityPanelSidebarTreeElement.ts +1 -12
  318. package/front_end/panels/security/sidebar.css +40 -1
  319. package/front_end/panels/sensors/SensorsView.ts +27 -0
  320. package/front_end/panels/sensors/sensors-meta.ts +59 -0
  321. package/front_end/panels/settings/AISettingsTab.test.ts +79 -11
  322. package/front_end/panels/settings/AISettingsTab.ts +109 -22
  323. package/front_end/panels/settings/FrameworkIgnoreListSettingsTab.ts +44 -30
  324. package/front_end/panels/settings/KeybindsSettingsTab.ts +34 -17
  325. package/front_end/panels/settings/SettingsScreen.ts +1 -1
  326. package/front_end/panels/settings/aiSettingsTab.css +13 -0
  327. package/front_end/panels/settings/components/SyncSection.ts +1 -3
  328. package/front_end/panels/settings/emulation/DevicesSettingsTab.ts +51 -29
  329. package/front_end/panels/settings/emulation/components/UserAgentClientHintsForm.ts +24 -12
  330. package/front_end/panels/settings/emulation/devicesSettingsTab.css +11 -10
  331. package/front_end/panels/settings/frameworkIgnoreListSettingsTab.css +14 -42
  332. package/front_end/panels/settings/keybindsSettingsTab.css +51 -89
  333. package/front_end/panels/settings/settingsScreen.css +30 -6
  334. package/front_end/panels/sources/AddSourceMapURLDialog.ts +1 -1
  335. package/front_end/panels/sources/CSSPlugin.ts +0 -2
  336. package/front_end/panels/sources/NavigatorView.ts +31 -23
  337. package/front_end/panels/sources/SourcesPanel.ts +25 -6
  338. package/front_end/panels/sources/SourcesView.test.ts +1 -0
  339. package/front_end/panels/sources/SourcesView.ts +2 -2
  340. package/front_end/panels/sources/components/BreakpointsView.ts +0 -1
  341. package/front_end/panels/sources/components/HeadersView.ts +0 -1
  342. package/front_end/panels/sources/navigatorTree.css +11 -0
  343. package/front_end/panels/timeline/AnnotationHelpers.ts +3 -3
  344. package/front_end/panels/timeline/AppenderUtils.ts +1 -3
  345. package/front_end/panels/timeline/CompatibilityTracksAppender.ts +21 -9
  346. package/front_end/panels/timeline/EntriesFilter.test.ts +19 -36
  347. package/front_end/panels/timeline/EntriesFilter.ts +6 -4
  348. package/front_end/panels/timeline/EventsTimelineTreeView.ts +9 -9
  349. package/front_end/panels/timeline/InteractionsTrackAppender.ts +2 -1
  350. package/front_end/panels/timeline/LayoutShiftsTrackAppender.ts +6 -6
  351. package/front_end/panels/timeline/NetworkTrackAppender.ts +1 -8
  352. package/front_end/panels/timeline/ThreadAppender.ts +5 -6
  353. package/front_end/panels/timeline/TimelineDetailsView.test.ts +85 -42
  354. package/front_end/panels/timeline/TimelineDetailsView.ts +71 -42
  355. package/front_end/panels/timeline/TimelineEventOverview.ts +10 -10
  356. package/front_end/panels/timeline/TimelineFilters.test.ts +4 -4
  357. package/front_end/panels/timeline/TimelineFlameChartDataProvider.ts +58 -62
  358. package/front_end/panels/timeline/TimelineFlameChartNetworkDataProvider.ts +16 -15
  359. package/front_end/panels/timeline/TimelineFlameChartView.test.ts +2 -3
  360. package/front_end/panels/timeline/TimelineFlameChartView.ts +102 -57
  361. package/front_end/panels/timeline/TimelineHistoryManager.ts +4 -0
  362. package/front_end/panels/timeline/TimelineMiniMap.ts +0 -8
  363. package/front_end/panels/timeline/TimelinePanel.ts +89 -44
  364. package/front_end/panels/timeline/TimelineSelection.test.ts +91 -36
  365. package/front_end/panels/timeline/TimelineSelection.ts +48 -60
  366. package/front_end/panels/timeline/TimelineSelectorStatsView.ts +3 -8
  367. package/front_end/panels/timeline/TimelineTreeView.ts +7 -5
  368. package/front_end/panels/timeline/TimelineUIUtils.test.ts +51 -4
  369. package/front_end/panels/timeline/TimelineUIUtils.ts +37 -27
  370. package/front_end/panels/timeline/UIDevtoolsController.ts +5 -5
  371. package/front_end/panels/timeline/UIDevtoolsUtils.ts +59 -68
  372. package/front_end/panels/timeline/components/BreadcrumbsUI.ts +2 -3
  373. package/front_end/panels/timeline/components/LayoutShiftDetails.ts +25 -8
  374. package/front_end/panels/timeline/components/LiveMetricsView.test.ts +230 -68
  375. package/front_end/panels/timeline/components/LiveMetricsView.ts +146 -112
  376. package/front_end/panels/timeline/components/NetworkRequestDetails.test.ts +14 -7
  377. package/front_end/panels/timeline/components/NetworkRequestDetails.ts +47 -117
  378. package/front_end/panels/timeline/components/NetworkRequestTooltip.ts +64 -74
  379. package/front_end/panels/timeline/components/Sidebar.ts +2 -1
  380. package/front_end/panels/timeline/components/SidebarAnnotationsTab.ts +11 -13
  381. package/front_end/panels/timeline/components/SidebarInsightsTab.ts +51 -2
  382. package/front_end/panels/timeline/components/SidebarSingleInsightSet.test.ts +1 -2
  383. package/front_end/panels/timeline/components/Utils.ts +28 -29
  384. package/front_end/panels/timeline/components/components.ts +0 -4
  385. package/front_end/panels/timeline/components/insights/CLSCulprits.ts +10 -3
  386. package/front_end/panels/timeline/components/insights/DocumentLatency.ts +8 -4
  387. package/front_end/panels/timeline/components/insights/EventRef.ts +0 -1
  388. package/front_end/panels/timeline/components/insights/FontDisplay.ts +1 -1
  389. package/front_end/panels/timeline/components/insights/Helpers.ts +4 -4
  390. package/front_end/panels/timeline/components/insights/InteractionToNextPaint.ts +3 -5
  391. package/front_end/panels/timeline/components/insights/LCPDiscovery.ts +1 -1
  392. package/front_end/panels/timeline/components/insights/LCPPhases.ts +7 -1
  393. package/front_end/panels/timeline/components/insights/NodeLink.ts +0 -1
  394. package/front_end/panels/timeline/components/insights/README.md +2 -2
  395. package/front_end/panels/timeline/components/insights/RenderBlocking.ts +5 -7
  396. package/front_end/panels/timeline/components/insights/SidebarInsight.ts +14 -5
  397. package/front_end/panels/timeline/components/insights/SlowCSSSelector.ts +112 -34
  398. package/front_end/panels/timeline/components/insights/Table.ts +1 -3
  399. package/front_end/panels/timeline/components/insights/ThirdParties.ts +6 -9
  400. package/front_end/panels/timeline/components/insights/Viewport.ts +3 -5
  401. package/front_end/panels/timeline/components/layoutShiftDetails.css +7 -1
  402. package/front_end/panels/timeline/components/liveMetricsView.css +59 -18
  403. package/front_end/panels/timeline/components/networkRequestDetails.css +9 -49
  404. package/front_end/panels/timeline/components/networkRequestTooltip.css +34 -11
  405. package/front_end/panels/timeline/components/relatedInsightChips.css +1 -1
  406. package/front_end/panels/timeline/components/sidebarInsightsTab.css +20 -0
  407. package/front_end/panels/timeline/extensions/ExtensionUI.ts +7 -7
  408. package/front_end/panels/timeline/fixtures/traces/README.md +4 -0
  409. package/front_end/panels/timeline/fixtures/traces/scheduler-post-task.json.gz +0 -0
  410. package/front_end/panels/timeline/fixtures/traces/unsized-images.json.gz +0 -0
  411. package/front_end/panels/timeline/historyToolbarButton.css +33 -19
  412. package/front_end/panels/timeline/overlays/OverlaysImpl.test.ts +0 -16
  413. package/front_end/panels/timeline/overlays/OverlaysImpl.ts +48 -22
  414. package/front_end/panels/timeline/overlays/components/entriesLinkOverlay.css +8 -0
  415. package/front_end/panels/timeline/overlays/components/entryLabelOverlay.css +16 -0
  416. package/front_end/panels/timeline/timeline-meta.ts +11 -0
  417. package/front_end/panels/timeline/timelineFlameChartView.css +16 -0
  418. package/front_end/panels/timeline/track_appenders/AnimationsTrackAppender.test.ts +2 -3
  419. package/front_end/panels/timeline/track_appenders/AppenderUtils.test.ts +1 -6
  420. package/front_end/panels/timeline/track_appenders/CompatibilityTracksAppender.test.ts +1 -1
  421. package/front_end/panels/timeline/track_appenders/ExtensionTrackAppender.test.ts +7 -8
  422. package/front_end/panels/timeline/track_appenders/GPUTrackAppender.test.ts +2 -2
  423. package/front_end/panels/timeline/track_appenders/InteractionsTrackAppender.test.ts +3 -3
  424. package/front_end/panels/timeline/track_appenders/LayoutShiftsTrackAppender.test.ts +3 -4
  425. package/front_end/panels/timeline/track_appenders/ServerTimingsTrackAppender.test.ts +2 -3
  426. package/front_end/panels/timeline/track_appenders/ThreadAppender.test.ts +5 -10
  427. package/front_end/panels/timeline/track_appenders/TimingsTrackAppender.test.ts +5 -5
  428. package/front_end/panels/timeline/utils/AICallTree.test.ts +80 -0
  429. package/front_end/panels/timeline/utils/AICallTree.ts +165 -0
  430. package/front_end/panels/timeline/{components → utils}/EntryName.test.ts +12 -12
  431. package/front_end/panels/timeline/{components → utils}/EntryName.ts +1 -1
  432. package/front_end/panels/timeline/{components → utils}/EntryStyles.ts +28 -1
  433. package/front_end/panels/timeline/utils/Helpers.test.ts +8 -3
  434. package/front_end/panels/timeline/utils/Helpers.ts +3 -4
  435. package/front_end/panels/timeline/utils/IgnoreList.test.ts +86 -0
  436. package/front_end/panels/timeline/utils/IgnoreList.ts +11 -4
  437. package/front_end/panels/timeline/utils/NetworkRequest.ts +1 -1
  438. package/front_end/panels/timeline/utils/SourceMapsResolver.test.ts +51 -18
  439. package/front_end/panels/timeline/utils/SourceMapsResolver.ts +3 -1
  440. package/front_end/panels/timeline/utils/utils.ts +6 -0
  441. package/front_end/panels/utils/utils.ts +56 -4
  442. package/front_end/services/trace_bounds/TraceBounds.ts +7 -1
  443. package/front_end/testing/ContextMenuHelpers.ts +1 -1
  444. package/front_end/testing/EnvironmentHelpers.ts +25 -3
  445. package/front_end/testing/NetworkHelpers.ts +38 -0
  446. package/front_end/testing/StorageItemsViewHelpers.ts +24 -0
  447. package/front_end/testing/TraceHelpers.ts +10 -0
  448. package/front_end/third_party/additional_readme_paths.json +1 -0
  449. package/front_end/third_party/codemirror.next/chunk/angular.js +1 -1
  450. package/front_end/third_party/codemirror.next/chunk/angular.js.map +1 -1
  451. package/front_end/third_party/codemirror.next/chunk/codemirror.js +1 -1
  452. package/front_end/third_party/codemirror.next/chunk/codemirror.js.map +1 -1
  453. package/front_end/third_party/codemirror.next/chunk/cpp.js.map +1 -1
  454. package/front_end/third_party/codemirror.next/chunk/legacy.js.map +1 -1
  455. package/front_end/third_party/codemirror.next/chunk/less.js.map +1 -1
  456. package/front_end/third_party/codemirror.next/chunk/markdown.js +1 -1
  457. package/front_end/third_party/codemirror.next/chunk/markdown.js.map +1 -1
  458. package/front_end/third_party/codemirror.next/chunk/php.js.map +1 -1
  459. package/front_end/third_party/codemirror.next/chunk/python.js +1 -1
  460. package/front_end/third_party/codemirror.next/chunk/python.js.map +1 -1
  461. package/front_end/third_party/codemirror.next/chunk/sass.js.map +1 -1
  462. package/front_end/third_party/codemirror.next/chunk/svelte.js +1 -1
  463. package/front_end/third_party/codemirror.next/chunk/svelte.js.map +1 -1
  464. package/front_end/third_party/codemirror.next/chunk/vue.js +1 -1
  465. package/front_end/third_party/codemirror.next/chunk/vue.js.map +1 -1
  466. package/front_end/third_party/codemirror.next/chunk/xml.js +1 -1
  467. package/front_end/third_party/codemirror.next/chunk/xml.js.map +1 -1
  468. package/front_end/third_party/codemirror.next/codemirror.next.d.ts +68 -3
  469. package/front_end/third_party/codemirror.next/codemirror.next.js +1 -1
  470. package/front_end/third_party/codemirror.next/package.json +2 -1
  471. package/front_end/third_party/intl-messageformat/README.chromium +2 -1
  472. package/front_end/third_party/intl-messageformat/package/intl-messageformat.esm.js +0 -1
  473. package/front_end/third_party/json5/LICENSE +23 -0
  474. package/front_end/third_party/json5/README.chromium +17 -0
  475. package/front_end/third_party/json5/json5-tsconfig.json +8 -0
  476. package/front_end/third_party/json5/json5.ts +4 -0
  477. package/front_end/third_party/json5/lib/index.d.ts +2 -0
  478. package/front_end/third_party/json5/lib/index.js +1121 -0
  479. package/front_end/third_party/json5/package/lib/index.d.ts +4 -0
  480. package/front_end/third_party/json5/package/lib/index.js +9 -0
  481. package/front_end/third_party/json5/package/lib/parse.d.ts +15 -0
  482. package/front_end/third_party/json5/package/lib/parse.js +1114 -0
  483. package/front_end/third_party/json5/package/lib/register.js +13 -0
  484. package/front_end/third_party/json5/package/lib/require.js +4 -0
  485. package/front_end/third_party/json5/package/lib/stringify.d.ts +89 -0
  486. package/front_end/third_party/json5/package/lib/stringify.js +261 -0
  487. package/front_end/third_party/json5/package/lib/unicode.d.ts +3 -0
  488. package/front_end/third_party/json5/package/lib/unicode.js +4 -0
  489. package/front_end/third_party/json5/package/lib/util.d.ts +5 -0
  490. package/front_end/third_party/json5/package/lib/util.js +35 -0
  491. package/front_end/third_party/json5/package.json +8 -0
  492. package/front_end/third_party/json5/rebuild.sh +5 -0
  493. package/front_end/third_party/puppeteer/README.chromium +2 -2
  494. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts +2 -2
  495. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.d.ts.map +1 -1
  496. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js +1 -6
  497. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Browser.js.map +1 -1
  498. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.d.ts +1 -1
  499. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/BrowserContext.js +1 -1
  500. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.d.ts +1 -1
  501. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/CDPSession.js +1 -1
  502. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.d.ts +4 -4
  503. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js +18 -11
  504. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/ElementHandle.js.map +1 -1
  505. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.d.ts +2 -2
  506. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js +13 -6
  507. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Frame.js.map +1 -1
  508. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts +7 -2
  509. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  510. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js +3 -3
  511. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPRequest.js.map +1 -1
  512. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts +0 -1
  513. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  514. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.d.ts +3 -3
  515. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Input.js +1 -1
  516. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js +12 -5
  517. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/JSHandle.js.map +1 -1
  518. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts +22 -22
  519. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.d.ts.map +1 -1
  520. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js +26 -19
  521. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/Page.js.map +1 -1
  522. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.d.ts +2 -2
  523. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/WebWorker.js +2 -2
  524. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts +1 -1
  525. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.d.ts.map +1 -1
  526. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js +0 -1
  527. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/api.js.map +1 -1
  528. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.d.ts.map +1 -1
  529. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js +12 -5
  530. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/api/locators/locators.js.map +1 -1
  531. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js +1 -2
  532. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BidiOverCdp.js.map +1 -1
  533. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts +0 -1
  534. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.d.ts.map +1 -1
  535. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js +4 -0
  536. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Browser.js.map +1 -1
  537. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js +1 -2
  538. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserConnector.js.map +1 -1
  539. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js +12 -5
  540. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/BrowserContext.js.map +1 -1
  541. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js +12 -5
  542. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ElementHandle.js.map +1 -1
  543. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js +12 -5
  544. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/ExposedFunction.js.map +1 -1
  545. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.d.ts.map +1 -1
  546. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js +3 -0
  547. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Frame.js.map +1 -1
  548. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js +21 -10
  549. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Page.js.map +1 -1
  550. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js +12 -5
  551. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/Realm.js.map +1 -1
  552. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js +12 -5
  553. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/Browser.js.map +1 -1
  554. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts +1 -1
  555. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.d.ts.map +1 -1
  556. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js +0 -1
  557. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/core/core.js.map +1 -1
  558. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js +2 -3
  559. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/bidi/util.js.map +1 -1
  560. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  561. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js +3 -0
  562. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  563. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js +12 -5
  564. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Binding.js.map +1 -1
  565. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts +0 -1
  566. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Browser.d.ts.map +1 -1
  567. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js +1 -2
  568. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserConnector.js.map +1 -1
  569. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js +12 -5
  570. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/BrowserContext.js.map +1 -1
  571. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  572. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js +3 -1
  573. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  574. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js +2 -2
  575. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Connection.js.map +1 -1
  576. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  577. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  578. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  579. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  580. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js +17 -13
  581. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExecutionContext.js.map +1 -1
  582. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  583. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js +5 -1
  584. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  585. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js +1 -1
  586. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/FrameManager.js.map +1 -1
  587. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js +1 -1
  588. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/HTTPResponse.js.map +1 -1
  589. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.d.ts.map +1 -1
  590. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Input.js.map +1 -1
  591. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  592. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  593. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  594. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js +2 -2
  595. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/JSHandle.js.map +1 -1
  596. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  597. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js +2 -1
  598. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/NetworkManager.js.map +1 -1
  599. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts +1 -1
  600. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.d.ts.map +1 -1
  601. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js +16 -7
  602. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/Page.js.map +1 -1
  603. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  604. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  605. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  606. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts +2 -0
  607. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.d.ts.map +1 -1
  608. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js +2 -0
  609. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/cdp.js.map +1 -1
  610. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js +6 -6
  611. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/cdp/utils.js.map +1 -1
  612. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js +1 -2
  613. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/BrowserConnector.js.map +1 -1
  614. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  615. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  616. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js +2 -2
  617. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/CallbackRegistry.js.map +1 -1
  618. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts +3 -0
  619. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  620. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.d.ts.map +1 -1
  621. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js +4 -5
  622. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Debug.js.map +1 -1
  623. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js +1 -2
  624. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/GetQueryHandler.js.map +1 -1
  625. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js +13 -7
  626. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/HandleIterator.js.map +1 -1
  627. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts +1 -1
  628. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/LazyArg.d.ts.map +1 -1
  629. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js +1 -2
  630. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PSelectorParser.js.map +1 -1
  631. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  632. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js +12 -5
  633. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js.map +1 -1
  634. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts +7 -7
  635. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.d.ts.map +1 -1
  636. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js +0 -7
  637. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/common.js.map +1 -1
  638. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts +2 -3
  639. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.d.ts.map +1 -1
  640. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js +14 -12
  641. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js.map +1 -1
  642. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts +0 -2
  643. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/environment.d.ts.map +1 -1
  644. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.d.ts +1 -1
  645. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/generated/version.js +1 -1
  646. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  647. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  648. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  649. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  650. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  651. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts +4 -4
  652. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/injected.d.ts.map +1 -1
  653. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js +3 -3
  654. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/injected/util.js.map +1 -1
  655. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  656. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js.map +1 -1
  657. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  658. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js +3 -4
  659. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ChromeLauncher.js.map +1 -1
  660. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts +0 -1
  661. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.d.ts.map +1 -1
  662. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PipeTransport.js.map +1 -1
  663. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts +0 -1
  664. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  665. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts +1 -1
  666. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.d.ts.map +1 -1
  667. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js +0 -1
  668. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/node.js.map +1 -1
  669. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js +2 -3
  670. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/util/fs.js.map +1 -1
  671. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts +6 -6
  672. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.d.ts.map +1 -1
  673. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js +15 -4
  674. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/puppeteer-core.js.map +1 -1
  675. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.d.ts +3 -3
  676. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js +3 -3
  677. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/revisions.js.map +1 -1
  678. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.d.ts.map +1 -1
  679. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js +1 -0
  680. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Deferred.js.map +1 -1
  681. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts +0 -1
  682. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.d.ts.map +1 -1
  683. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js +4 -5
  684. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/ErrorLike.js.map +1 -1
  685. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.d.ts.map +1 -1
  686. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js +2 -2
  687. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Function.js.map +1 -1
  688. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts +2 -2
  689. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/Mutex.d.ts.map +1 -1
  690. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts +1 -1
  691. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.d.ts.map +1 -1
  692. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js +18 -13
  693. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/decorators.js.map +1 -1
  694. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/disposable.d.ts.map +1 -1
  695. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js +4 -5
  696. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/encoding.js.map +1 -1
  697. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts +1 -0
  698. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.d.ts.map +1 -1
  699. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js +1 -0
  700. package/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/util/util.js.map +1 -1
  701. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.d.ts +374 -578
  702. package/front_end/third_party/puppeteer/package/lib/es5-iife/puppeteer-core-browser.js +316 -150
  703. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts +2 -2
  704. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.d.ts.map +1 -1
  705. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js +1 -6
  706. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Browser.js.map +1 -1
  707. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.d.ts +1 -1
  708. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/BrowserContext.js +1 -1
  709. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.d.ts +1 -1
  710. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/CDPSession.js +1 -1
  711. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.d.ts +4 -4
  712. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js +16 -9
  713. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/ElementHandle.js.map +1 -1
  714. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.d.ts +2 -2
  715. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js +13 -6
  716. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Frame.js.map +1 -1
  717. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts +7 -2
  718. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.d.ts.map +1 -1
  719. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPRequest.js.map +1 -1
  720. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts +0 -1
  721. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/HTTPResponse.d.ts.map +1 -1
  722. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.d.ts +3 -3
  723. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Input.js +1 -1
  724. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js +12 -5
  725. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/JSHandle.js.map +1 -1
  726. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts +22 -22
  727. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.d.ts.map +1 -1
  728. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js +24 -17
  729. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/Page.js.map +1 -1
  730. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.d.ts +2 -2
  731. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/WebWorker.js +2 -2
  732. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts +1 -1
  733. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.d.ts.map +1 -1
  734. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js +0 -1
  735. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/api.js.map +1 -1
  736. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.d.ts.map +1 -1
  737. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js +12 -5
  738. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/api/locators/locators.js.map +1 -1
  739. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts +0 -1
  740. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.d.ts.map +1 -1
  741. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js +4 -0
  742. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Browser.js.map +1 -1
  743. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js +12 -5
  744. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/BrowserContext.js.map +1 -1
  745. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js +12 -5
  746. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ElementHandle.js.map +1 -1
  747. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js +12 -5
  748. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/ExposedFunction.js.map +1 -1
  749. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.d.ts.map +1 -1
  750. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js +3 -0
  751. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Frame.js.map +1 -1
  752. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js +21 -10
  753. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Page.js.map +1 -1
  754. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js +12 -5
  755. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/Realm.js.map +1 -1
  756. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js +12 -5
  757. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/Browser.js.map +1 -1
  758. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts +1 -1
  759. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.d.ts.map +1 -1
  760. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js +0 -1
  761. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/bidi/core/core.js.map +1 -1
  762. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.d.ts.map +1 -1
  763. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js +3 -0
  764. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/AriaQueryHandler.js.map +1 -1
  765. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js +12 -5
  766. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Binding.js.map +1 -1
  767. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts +0 -1
  768. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Browser.d.ts.map +1 -1
  769. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js +12 -5
  770. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/BrowserContext.js.map +1 -1
  771. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.d.ts.map +1 -1
  772. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js +3 -1
  773. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ChromeTargetManager.js.map +1 -1
  774. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.d.ts +1 -1
  775. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/DeviceRequestPrompt.js +1 -1
  776. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts +3 -3
  777. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.d.ts.map +1 -1
  778. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js +17 -13
  779. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExecutionContext.js.map +1 -1
  780. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.d.ts.map +1 -1
  781. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js +5 -1
  782. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/ExtensionTransport.js.map +1 -1
  783. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js +1 -1
  784. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/FrameManager.js.map +1 -1
  785. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js +1 -1
  786. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/HTTPResponse.js.map +1 -1
  787. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.d.ts.map +1 -1
  788. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Input.js.map +1 -1
  789. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts +1 -2
  790. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.d.ts.map +1 -1
  791. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/IsolatedWorld.js.map +1 -1
  792. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.d.ts.map +1 -1
  793. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js +2 -1
  794. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/NetworkManager.js.map +1 -1
  795. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts +1 -1
  796. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.d.ts.map +1 -1
  797. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js +16 -7
  798. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/Page.js.map +1 -1
  799. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts +4 -4
  800. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.d.ts.map +1 -1
  801. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/PredefinedNetworkConditions.js +4 -4
  802. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts +2 -0
  803. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.d.ts.map +1 -1
  804. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js +2 -0
  805. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/cdp/cdp.js.map +1 -1
  806. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CSSQueryHandler.d.ts.map +1 -1
  807. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.d.ts.map +1 -1
  808. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/CallbackRegistry.js.map +1 -1
  809. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts +3 -0
  810. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/ConnectOptions.d.ts.map +1 -1
  811. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.d.ts.map +1 -1
  812. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js +0 -1
  813. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Debug.js.map +1 -1
  814. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js +12 -5
  815. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/HandleIterator.js.map +1 -1
  816. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts +1 -1
  817. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/LazyArg.d.ts.map +1 -1
  818. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/PierceQueryHandler.d.ts.map +1 -1
  819. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js +12 -5
  820. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js.map +1 -1
  821. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts +7 -7
  822. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.d.ts.map +1 -1
  823. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js +0 -7
  824. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/common.js.map +1 -1
  825. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts +2 -3
  826. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.d.ts.map +1 -1
  827. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js +3 -1
  828. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js.map +1 -1
  829. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts +0 -2
  830. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/environment.d.ts.map +1 -1
  831. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.d.ts +1 -1
  832. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/generated/version.js +1 -1
  833. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/ARIAQuerySelector.d.ts.map +1 -1
  834. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/CSSSelector.d.ts.map +1 -1
  835. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/PQuerySelector.d.ts.map +1 -1
  836. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/TextQuerySelector.d.ts.map +1 -1
  837. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/XPathQuerySelector.d.ts.map +1 -1
  838. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts +3 -3
  839. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/injected/injected.d.ts.map +1 -1
  840. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.d.ts.map +1 -1
  841. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js.map +1 -1
  842. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.d.ts.map +1 -1
  843. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js +0 -1
  844. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ChromeLauncher.js.map +1 -1
  845. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts +0 -1
  846. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.d.ts.map +1 -1
  847. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PipeTransport.js.map +1 -1
  848. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts +0 -1
  849. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/ScreenRecorder.d.ts.map +1 -1
  850. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts +1 -1
  851. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.d.ts.map +1 -1
  852. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js +0 -1
  853. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/node.js.map +1 -1
  854. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts +1 -1
  855. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core-browser.d.ts.map +1 -1
  856. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts +6 -6
  857. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.d.ts.map +1 -1
  858. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js +3 -4
  859. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/puppeteer-core.js.map +1 -1
  860. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.d.ts +3 -3
  861. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js +3 -3
  862. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/revisions.js.map +1 -1
  863. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.d.ts.map +1 -1
  864. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js +1 -0
  865. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Deferred.js.map +1 -1
  866. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts +0 -1
  867. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/ErrorLike.d.ts.map +1 -1
  868. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Function.d.ts.map +1 -1
  869. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts +1 -1
  870. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/Mutex.d.ts.map +1 -1
  871. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts +1 -1
  872. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.d.ts.map +1 -1
  873. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js +12 -6
  874. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/decorators.js.map +1 -1
  875. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/disposable.d.ts.map +1 -1
  876. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts +1 -0
  877. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.d.ts.map +1 -1
  878. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js +1 -0
  879. package/front_end/third_party/puppeteer/package/lib/esm/puppeteer/util/util.js.map +1 -1
  880. package/front_end/third_party/puppeteer/package/lib/types.d.ts +374 -578
  881. package/front_end/third_party/puppeteer/package/package.json +6 -6
  882. package/front_end/third_party/puppeteer/package/src/api/Browser.ts +8 -8
  883. package/front_end/third_party/puppeteer/package/src/api/BrowserContext.ts +5 -5
  884. package/front_end/third_party/puppeteer/package/src/api/CDPSession.ts +2 -2
  885. package/front_end/third_party/puppeteer/package/src/api/Dialog.ts +1 -1
  886. package/front_end/third_party/puppeteer/package/src/api/ElementHandle.ts +44 -44
  887. package/front_end/third_party/puppeteer/package/src/api/Frame.ts +33 -33
  888. package/front_end/third_party/puppeteer/package/src/api/HTTPRequest.ts +14 -9
  889. package/front_end/third_party/puppeteer/package/src/api/Input.ts +11 -11
  890. package/front_end/third_party/puppeteer/package/src/api/JSHandle.ts +5 -5
  891. package/front_end/third_party/puppeteer/package/src/api/Page.ts +88 -87
  892. package/front_end/third_party/puppeteer/package/src/api/Realm.ts +2 -2
  893. package/front_end/third_party/puppeteer/package/src/api/WebWorker.ts +2 -2
  894. package/front_end/third_party/puppeteer/package/src/api/api.ts +1 -1
  895. package/front_end/third_party/puppeteer/package/src/api/locators/locators.ts +79 -79
  896. package/front_end/third_party/puppeteer/package/src/bidi/BidiOverCdp.ts +7 -7
  897. package/front_end/third_party/puppeteer/package/src/bidi/Browser.ts +9 -5
  898. package/front_end/third_party/puppeteer/package/src/bidi/BrowserConnector.ts +5 -5
  899. package/front_end/third_party/puppeteer/package/src/bidi/BrowserContext.ts +10 -10
  900. package/front_end/third_party/puppeteer/package/src/bidi/CDPSession.ts +4 -4
  901. package/front_end/third_party/puppeteer/package/src/bidi/Connection.ts +6 -6
  902. package/front_end/third_party/puppeteer/package/src/bidi/ElementHandle.ts +3 -3
  903. package/front_end/third_party/puppeteer/package/src/bidi/ExposedFunction.ts +11 -11
  904. package/front_end/third_party/puppeteer/package/src/bidi/Frame.ts +45 -41
  905. package/front_end/third_party/puppeteer/package/src/bidi/HTTPRequest.ts +9 -9
  906. package/front_end/third_party/puppeteer/package/src/bidi/HTTPResponse.ts +3 -3
  907. package/front_end/third_party/puppeteer/package/src/bidi/Input.ts +10 -10
  908. package/front_end/third_party/puppeteer/package/src/bidi/JSHandle.ts +1 -1
  909. package/front_end/third_party/puppeteer/package/src/bidi/Page.ts +56 -52
  910. package/front_end/third_party/puppeteer/package/src/bidi/Realm.ts +15 -15
  911. package/front_end/third_party/puppeteer/package/src/bidi/Serializer.ts +1 -1
  912. package/front_end/third_party/puppeteer/package/src/bidi/Target.ts +2 -2
  913. package/front_end/third_party/puppeteer/package/src/bidi/WebWorker.ts +2 -2
  914. package/front_end/third_party/puppeteer/package/src/bidi/core/Browser.ts +4 -4
  915. package/front_end/third_party/puppeteer/package/src/bidi/core/BrowsingContext.ts +17 -17
  916. package/front_end/third_party/puppeteer/package/src/bidi/core/Connection.ts +1 -1
  917. package/front_end/third_party/puppeteer/package/src/bidi/core/Navigation.ts +3 -3
  918. package/front_end/third_party/puppeteer/package/src/bidi/core/Realm.ts +6 -6
  919. package/front_end/third_party/puppeteer/package/src/bidi/core/Request.ts +5 -5
  920. package/front_end/third_party/puppeteer/package/src/bidi/core/Session.ts +4 -4
  921. package/front_end/third_party/puppeteer/package/src/bidi/core/UserContext.ts +9 -9
  922. package/front_end/third_party/puppeteer/package/src/bidi/core/UserPrompt.ts +4 -4
  923. package/front_end/third_party/puppeteer/package/src/bidi/core/core.ts +1 -1
  924. package/front_end/third_party/puppeteer/package/src/bidi/util.ts +4 -4
  925. package/front_end/third_party/puppeteer/package/src/cdp/Accessibility.ts +7 -7
  926. package/front_end/third_party/puppeteer/package/src/cdp/AriaQueryHandler.ts +10 -6
  927. package/front_end/third_party/puppeteer/package/src/cdp/Binding.ts +6 -6
  928. package/front_end/third_party/puppeteer/package/src/cdp/Browser.ts +24 -24
  929. package/front_end/third_party/puppeteer/package/src/cdp/BrowserConnector.ts +4 -4
  930. package/front_end/third_party/puppeteer/package/src/cdp/BrowserContext.ts +2 -2
  931. package/front_end/third_party/puppeteer/package/src/cdp/CDPSession.ts +7 -7
  932. package/front_end/third_party/puppeteer/package/src/cdp/ChromeTargetManager.ts +19 -17
  933. package/front_end/third_party/puppeteer/package/src/cdp/Connection.ts +7 -7
  934. package/front_end/third_party/puppeteer/package/src/cdp/Coverage.ts +11 -11
  935. package/front_end/third_party/puppeteer/package/src/cdp/DeviceRequestPrompt.ts +17 -17
  936. package/front_end/third_party/puppeteer/package/src/cdp/Dialog.ts +1 -1
  937. package/front_end/third_party/puppeteer/package/src/cdp/ElementHandle.ts +6 -6
  938. package/front_end/third_party/puppeteer/package/src/cdp/EmulationManager.ts +34 -34
  939. package/front_end/third_party/puppeteer/package/src/cdp/ExecutionContext.ts +18 -19
  940. package/front_end/third_party/puppeteer/package/src/cdp/ExtensionTransport.ts +7 -3
  941. package/front_end/third_party/puppeteer/package/src/cdp/FirefoxTargetManager.ts +7 -7
  942. package/front_end/third_party/puppeteer/package/src/cdp/Frame.ts +16 -16
  943. package/front_end/third_party/puppeteer/package/src/cdp/FrameManager.ts +20 -20
  944. package/front_end/third_party/puppeteer/package/src/cdp/FrameManagerEvents.ts +1 -1
  945. package/front_end/third_party/puppeteer/package/src/cdp/HTTPRequest.ts +5 -5
  946. package/front_end/third_party/puppeteer/package/src/cdp/HTTPResponse.ts +5 -5
  947. package/front_end/third_party/puppeteer/package/src/cdp/Input.ts +16 -14
  948. package/front_end/third_party/puppeteer/package/src/cdp/IsolatedWorld.ts +14 -13
  949. package/front_end/third_party/puppeteer/package/src/cdp/JSHandle.ts +2 -2
  950. package/front_end/third_party/puppeteer/package/src/cdp/LifecycleWatcher.ts +11 -11
  951. package/front_end/third_party/puppeteer/package/src/cdp/NetworkEventManager.ts +15 -15
  952. package/front_end/third_party/puppeteer/package/src/cdp/NetworkManager.ts +38 -37
  953. package/front_end/third_party/puppeteer/package/src/cdp/Page.ts +71 -70
  954. package/front_end/third_party/puppeteer/package/src/cdp/PredefinedNetworkConditions.ts +4 -4
  955. package/front_end/third_party/puppeteer/package/src/cdp/Target.ts +4 -4
  956. package/front_end/third_party/puppeteer/package/src/cdp/TargetManager.ts +1 -1
  957. package/front_end/third_party/puppeteer/package/src/cdp/Tracing.ts +2 -2
  958. package/front_end/third_party/puppeteer/package/src/cdp/WebWorker.ts +5 -5
  959. package/front_end/third_party/puppeteer/package/src/cdp/cdp.ts +2 -0
  960. package/front_end/third_party/puppeteer/package/src/cdp/utils.ts +10 -10
  961. package/front_end/third_party/puppeteer/package/src/common/BrowserConnector.ts +5 -5
  962. package/front_end/third_party/puppeteer/package/src/common/CSSQueryHandler.ts +2 -2
  963. package/front_end/third_party/puppeteer/package/src/common/CallbackRegistry.ts +9 -7
  964. package/front_end/third_party/puppeteer/package/src/common/ConnectOptions.ts +3 -0
  965. package/front_end/third_party/puppeteer/package/src/common/ConsoleMessage.ts +1 -1
  966. package/front_end/third_party/puppeteer/package/src/common/CustomQueryHandler.ts +6 -6
  967. package/front_end/third_party/puppeteer/package/src/common/Debug.ts +0 -1
  968. package/front_end/third_party/puppeteer/package/src/common/EventEmitter.ts +8 -8
  969. package/front_end/third_party/puppeteer/package/src/common/FileChooser.ts +3 -3
  970. package/front_end/third_party/puppeteer/package/src/common/HandleIterator.ts +3 -3
  971. package/front_end/third_party/puppeteer/package/src/common/LazyArg.ts +1 -1
  972. package/front_end/third_party/puppeteer/package/src/common/NetworkManagerEvents.ts +1 -1
  973. package/front_end/third_party/puppeteer/package/src/common/PQueryHandler.ts +2 -2
  974. package/front_end/third_party/puppeteer/package/src/common/PSelectorParser.ts +1 -1
  975. package/front_end/third_party/puppeteer/package/src/common/PierceQueryHandler.ts +2 -2
  976. package/front_end/third_party/puppeteer/package/src/common/Puppeteer.ts +1 -1
  977. package/front_end/third_party/puppeteer/package/src/common/QueryHandler.ts +12 -12
  978. package/front_end/third_party/puppeteer/package/src/common/TaskQueue.ts +1 -1
  979. package/front_end/third_party/puppeteer/package/src/common/TextQueryHandler.ts +1 -1
  980. package/front_end/third_party/puppeteer/package/src/common/WaitTask.ts +8 -8
  981. package/front_end/third_party/puppeteer/package/src/common/XPathQueryHandler.ts +2 -2
  982. package/front_end/third_party/puppeteer/package/src/common/common.ts +7 -7
  983. package/front_end/third_party/puppeteer/package/src/common/util.ts +15 -14
  984. package/front_end/third_party/puppeteer/package/src/generated/version.ts +1 -1
  985. package/front_end/third_party/puppeteer/package/src/injected/ARIAQuerySelector.ts +3 -3
  986. package/front_end/third_party/puppeteer/package/src/injected/CSSSelector.ts +2 -2
  987. package/front_end/third_party/puppeteer/package/src/injected/PQuerySelector.ts +7 -7
  988. package/front_end/third_party/puppeteer/package/src/injected/PierceQuerySelector.ts +2 -2
  989. package/front_end/third_party/puppeteer/package/src/injected/TextContent.ts +1 -1
  990. package/front_end/third_party/puppeteer/package/src/injected/TextQuerySelector.ts +1 -1
  991. package/front_end/third_party/puppeteer/package/src/injected/XPathQuerySelector.ts +2 -2
  992. package/front_end/third_party/puppeteer/package/src/injected/util.ts +2 -2
  993. package/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts +38 -30
  994. package/front_end/third_party/puppeteer/package/src/node/ChromeLauncher.ts +11 -12
  995. package/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts +8 -8
  996. package/front_end/third_party/puppeteer/package/src/node/NodeWebSocketTransport.ts +1 -1
  997. package/front_end/third_party/puppeteer/package/src/node/PipeTransport.ts +7 -3
  998. package/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts +4 -4
  999. package/front_end/third_party/puppeteer/package/src/node/ScreenRecorder.ts +10 -10
  1000. package/front_end/third_party/puppeteer/package/src/node/node.ts +1 -1
  1001. package/front_end/third_party/puppeteer/package/src/puppeteer-core.ts +4 -4
  1002. package/front_end/third_party/puppeteer/package/src/revisions.ts +3 -3
  1003. package/front_end/third_party/puppeteer/package/src/util/AsyncIterableUtil.ts +3 -3
  1004. package/front_end/third_party/puppeteer/package/src/util/Deferred.ts +3 -2
  1005. package/front_end/third_party/puppeteer/package/src/util/ErrorLike.ts +1 -1
  1006. package/front_end/third_party/puppeteer/package/src/util/Function.ts +4 -4
  1007. package/front_end/third_party/puppeteer/package/src/util/Mutex.ts +1 -1
  1008. package/front_end/third_party/puppeteer/package/src/util/assert.ts +1 -1
  1009. package/front_end/third_party/puppeteer/package/src/util/decorators.ts +8 -9
  1010. package/front_end/third_party/puppeteer/package/src/util/encoding.ts +1 -1
  1011. package/front_end/third_party/puppeteer/package/src/util/util.ts +1 -0
  1012. package/front_end/third_party/web-vitals/README.chromium +3 -3
  1013. package/front_end/third_party/web-vitals/package/README.md +36 -23
  1014. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.d.ts +2 -1
  1015. package/front_end/third_party/web-vitals/package/dist/modules/attribution/onINP.js +11 -13
  1016. package/front_end/third_party/web-vitals/package/dist/modules/lib/bindReporter.d.ts +2 -22
  1017. package/front_end/third_party/web-vitals/package/dist/modules/lib/initMetric.d.ts +3 -2
  1018. package/front_end/third_party/web-vitals/package/dist/modules/lib/interactions.js +1 -1
  1019. package/front_end/third_party/web-vitals/package/dist/modules/onLCP.js +4 -1
  1020. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.iife.js +1 -1
  1021. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.js +1 -1
  1022. package/front_end/third_party/web-vitals/package/dist/web-vitals.attribution.umd.cjs +1 -1
  1023. package/front_end/third_party/web-vitals/package/dist/web-vitals.iife.js +1 -1
  1024. package/front_end/third_party/web-vitals/package/dist/web-vitals.js +1 -1
  1025. package/front_end/third_party/web-vitals/package/dist/web-vitals.umd.cjs +1 -1
  1026. package/front_end/third_party/web-vitals/package/package.json +1 -1
  1027. package/front_end/third_party/web-vitals/package/src/attribution/onINP.ts +11 -14
  1028. package/front_end/third_party/web-vitals/package/src/lib/interactions.ts +1 -1
  1029. package/front_end/third_party/web-vitals/package/src/onLCP.ts +4 -1
  1030. package/front_end/third_party/web-vitals/rebuild.sh +14 -0
  1031. package/front_end/third_party/web-vitals/web-vitals.ts +2 -0
  1032. package/front_end/ui/components/adorners/Adorner.ts +0 -1
  1033. package/front_end/ui/components/buttons/Button.ts +0 -1
  1034. package/front_end/ui/components/buttons/button.css +1 -0
  1035. package/front_end/ui/components/cards/Card.test.ts +31 -5
  1036. package/front_end/ui/components/cards/Card.ts +22 -3
  1037. package/front_end/ui/components/cards/card.css +25 -7
  1038. package/front_end/ui/components/chrome_link/ChromeLink.ts +0 -1
  1039. package/front_end/ui/components/data_grid/DataGrid.ts +0 -1
  1040. package/front_end/ui/components/data_grid/DataGridController.ts +2 -3
  1041. package/front_end/ui/components/data_grid/DataGridControllerIntegrator.ts +1 -2
  1042. package/front_end/ui/components/dialogs/Dialog.ts +0 -1
  1043. package/front_end/ui/components/dialogs/IconDialog.ts +9 -11
  1044. package/front_end/ui/components/dialogs/ShortcutDialog.ts +3 -4
  1045. package/front_end/ui/components/diff_view/DiffView.ts +0 -1
  1046. package/front_end/ui/components/docs/building-ui-documentation/ComponentPerformance.md +1 -4
  1047. package/front_end/ui/components/docs/building-ui-documentation/CreatingComponents.md +14 -44
  1048. package/front_end/ui/components/docs/freestyler/basic.ts +2 -3
  1049. package/front_end/ui/components/docs/freestyler/empty_state.ts +2 -2
  1050. package/front_end/ui/components/docs/icon_dialog/basic.ts +4 -4
  1051. package/front_end/ui/components/docs/performance_panel/basic.ts +4 -1
  1052. package/front_end/ui/components/docs/report/basic.ts +3 -3
  1053. package/front_end/ui/components/expandable_list/ExpandableList.ts +0 -1
  1054. package/front_end/ui/components/floating_button/FloatingButton.ts +0 -1
  1055. package/front_end/ui/components/icon_button/FileSourceIcon.test.ts +32 -0
  1056. package/front_end/ui/components/icon_button/FileSourceIcon.ts +76 -0
  1057. package/front_end/ui/components/icon_button/Icon.ts +0 -3
  1058. package/front_end/ui/components/icon_button/IconButton.ts +0 -1
  1059. package/front_end/ui/components/icon_button/fileSourceIcon.css +43 -0
  1060. package/front_end/ui/components/icon_button/icon_button.ts +2 -0
  1061. package/front_end/ui/components/issue_counter/IssueCounter.ts +1 -3
  1062. package/front_end/ui/components/issue_counter/IssueLinkIcon.ts +0 -1
  1063. package/front_end/ui/components/legacy_wrapper/LegacyWrapper.ts +1 -1
  1064. package/front_end/ui/components/linkifier/LinkifierImpl.ts +4 -2
  1065. package/front_end/ui/components/markdown_view/CodeBlock.ts +0 -1
  1066. package/front_end/ui/components/markdown_view/MarkdownImage.ts +0 -1
  1067. package/front_end/ui/components/markdown_view/MarkdownLink.ts +0 -1
  1068. package/front_end/ui/components/markdown_view/MarkdownView.ts +10 -7
  1069. package/front_end/ui/components/menus/Menu.ts +0 -3
  1070. package/front_end/ui/components/menus/SelectMenu.ts +0 -2
  1071. package/front_end/ui/components/menus/selectMenu.css +8 -5
  1072. package/front_end/ui/components/menus/selectMenuButton.css +29 -17
  1073. package/front_end/ui/components/node_text/NodeText.ts +0 -1
  1074. package/front_end/ui/components/panel_feedback/FeedbackButton.ts +0 -1
  1075. package/front_end/ui/components/panel_feedback/PanelFeedback.ts +1 -3
  1076. package/front_end/ui/components/panel_feedback/PreviewToggle.ts +1 -3
  1077. package/front_end/ui/components/panel_introduction_steps/PanelIntroductionSteps.ts +0 -1
  1078. package/front_end/ui/components/report_view/ReportView.ts +1 -7
  1079. package/front_end/ui/components/request_link_icon/RequestLinkIcon.ts +0 -1
  1080. package/front_end/ui/components/settings/SettingCheckbox.ts +28 -10
  1081. package/front_end/ui/components/settings/SettingDeprecationWarning.ts +2 -4
  1082. package/front_end/ui/components/settings/settingCheckbox.css +1 -0
  1083. package/front_end/ui/components/spinners/Spinner.ts +0 -1
  1084. package/front_end/ui/components/spinners/spinner.css +1 -0
  1085. package/front_end/ui/components/split_view/SplitView.ts +0 -1
  1086. package/front_end/ui/components/srgb_overlay/SrgbOverlay.ts +0 -1
  1087. package/front_end/ui/components/survey_link/SurveyLink.ts +1 -3
  1088. package/front_end/ui/components/switch/SwitchImpl.ts +0 -1
  1089. package/front_end/ui/components/text_editor/TextEditor.ts +0 -2
  1090. package/front_end/ui/components/text_prompt/TextPrompt.ts +0 -1
  1091. package/front_end/ui/components/tree_outline/TreeOutline.ts +0 -1
  1092. package/front_end/ui/components/two_states_counter/TwoStatesCounter.ts +0 -1
  1093. package/front_end/ui/legacy/ContextMenu.ts +46 -7
  1094. package/front_end/ui/legacy/FilterBar.test.ts +52 -0
  1095. package/front_end/ui/legacy/FilterBar.ts +46 -1
  1096. package/front_end/ui/legacy/KeyboardShortcut.ts +35 -21
  1097. package/front_end/ui/legacy/Panel.ts +2 -2
  1098. package/front_end/ui/legacy/ShortcutRegistry.ts +10 -7
  1099. package/front_end/ui/legacy/SoftContextMenu.ts +3 -0
  1100. package/front_end/ui/legacy/ThrottledWidget.ts +2 -2
  1101. package/front_end/ui/legacy/Toolbar.ts +1 -0
  1102. package/front_end/ui/legacy/Treeoutline.ts +7 -4
  1103. package/front_end/ui/legacy/UIUtils.ts +9 -0
  1104. package/front_end/ui/legacy/View.ts +2 -2
  1105. package/front_end/ui/legacy/ViewManager.ts +2 -1
  1106. package/front_end/ui/legacy/Widget.ts +4 -4
  1107. package/front_end/ui/legacy/components/data_grid/DataGrid.test.ts +51 -0
  1108. package/front_end/ui/legacy/components/data_grid/DataGrid.ts +92 -6
  1109. package/front_end/ui/legacy/components/data_grid/dataGrid.css +8 -1
  1110. package/front_end/ui/legacy/components/inline_editor/CSSAngle.ts +4 -7
  1111. package/front_end/ui/legacy/components/inline_editor/CSSAngleEditor.ts +0 -1
  1112. package/front_end/ui/legacy/components/inline_editor/CSSAngleSwatch.ts +0 -1
  1113. package/front_end/ui/legacy/components/inline_editor/CSSLength.ts +0 -1
  1114. package/front_end/ui/legacy/components/inline_editor/ColorMixSwatch.ts +0 -1
  1115. package/front_end/ui/legacy/components/inline_editor/ColorSwatch.ts +0 -1
  1116. package/front_end/ui/legacy/components/inline_editor/LinkSwatch.ts +0 -3
  1117. package/front_end/ui/legacy/components/inline_editor/Swatches.ts +1 -2
  1118. package/front_end/ui/legacy/components/object_ui/ObjectPropertiesSection.ts +2 -2
  1119. package/front_end/ui/legacy/components/perf_ui/CanvasHelper.ts +1 -83
  1120. package/front_end/ui/legacy/components/perf_ui/ChartViewport.ts +3 -2
  1121. package/front_end/ui/legacy/components/perf_ui/FlameChart.ts +162 -57
  1122. package/front_end/ui/legacy/components/perf_ui/PieChart.ts +0 -1
  1123. package/front_end/ui/legacy/components/perf_ui/TimelineOverviewPane.ts +3 -3
  1124. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.test.ts +5 -9
  1125. package/front_end/ui/legacy/components/source_frame/BinaryResourceViewFactory.ts +9 -60
  1126. package/front_end/ui/legacy/components/source_frame/SourceFrame.test.ts +18 -0
  1127. package/front_end/ui/legacy/components/source_frame/SourceFrame.ts +20 -3
  1128. package/front_end/{panels/network/RequestBinaryResponseView.test.ts → ui/legacy/components/source_frame/StreamingContentHexView.test.ts} +12 -12
  1129. package/front_end/ui/legacy/components/source_frame/StreamingContentHexView.ts +122 -0
  1130. package/front_end/ui/legacy/components/source_frame/source_frame.ts +2 -0
  1131. package/front_end/ui/legacy/designTokens.css +46 -40
  1132. package/front_end/ui/legacy/filter.css +23 -8
  1133. package/front_end/ui/legacy/inspectorCommon.css +31 -29
  1134. package/front_end/ui/legacy/searchableView.css +4 -3
  1135. package/front_end/ui/legacy/softDropDownButton.css +10 -6
  1136. package/front_end/ui/legacy/tabbedPane.css +1 -1
  1137. package/front_end/ui/legacy/toolbar.css +38 -18
  1138. package/front_end/ui/visual_logging/KnownContextValues.ts +67 -1
  1139. package/front_end/ui/visual_logging/LoggingDriver.test.ts +53 -6
  1140. package/front_end/ui/visual_logging/LoggingDriver.ts +8 -5
  1141. package/front_end/ui/visual_logging/LoggingEvents.test.ts +5 -1
  1142. package/front_end/ui/visual_logging/LoggingEvents.ts +1 -1
  1143. package/front_end/ui/visual_logging/LoggingState.ts +1 -1
  1144. package/package.json +5 -6
  1145. package/scripts/build/esbuild.js +3 -1
  1146. package/scripts/devtools_paths.js +11 -1
  1147. package/scripts/eslint_rules/lib/check_test_definitions.js +1 -1
  1148. package/scripts/eslint_rules/tests/check_test_definitions_test.js +10 -0
  1149. package/tsconfig.json +11 -1
  1150. package/docs/add_uma_metrics.md +0 -41
  1151. package/docs/uma_metrics.md +0 -23
  1152. package/front_end/panels/animation/AnimationDOMNode.ts +0 -268
  1153. package/front_end/panels/freestyler/components/ProvideFeedback.test.ts +0 -29
  1154. package/front_end/panels/freestyler/components/provideFeedback.css +0 -60
  1155. package/front_end/panels/network/RequestBinaryResponseView.ts +0 -67
  1156. package/scripts/eslint_rules/lib/lit_html_data_as_type.js +0 -83
  1157. package/scripts/eslint_rules/tests/lit_html_data_as_type_test.js +0 -81
@@ -0,0 +1,13 @@
1
+ const fs = require('fs')
2
+ const JSON5 = require('./')
3
+
4
+ // eslint-disable-next-line node/no-deprecated-api
5
+ require.extensions['.json5'] = function (module, filename) {
6
+ const content = fs.readFileSync(filename, 'utf8')
7
+ try {
8
+ module.exports = JSON5.parse(content)
9
+ } catch (err) {
10
+ err.message = filename + ': ' + err.message
11
+ throw err
12
+ }
13
+ }
@@ -0,0 +1,4 @@
1
+ // This file is for backward compatibility with v0.5.1.
2
+ require('./register')
3
+
4
+ console.warn("'json5/require' is deprecated. Please use 'json5/register' instead.")
@@ -0,0 +1,89 @@
1
+ declare type StringifyOptions = {
2
+ /**
3
+ * A function that alters the behavior of the stringification process, or an
4
+ * array of String and Number objects that serve as a allowlist for
5
+ * selecting/filtering the properties of the value object to be included in
6
+ * the JSON5 string. If this value is null or not provided, all properties
7
+ * of the object are included in the resulting JSON5 string.
8
+ */
9
+ replacer?:
10
+ | ((this: any, key: string, value: any) => any)
11
+ | (string | number)[]
12
+ | null
13
+
14
+ /**
15
+ * A String or Number object that's used to insert white space into the
16
+ * output JSON5 string for readability purposes. If this is a Number, it
17
+ * indicates the number of space characters to use as white space; this
18
+ * number is capped at 10 (if it is greater, the value is just 10). Values
19
+ * less than 1 indicate that no space should be used. If this is a String,
20
+ * the string (or the first 10 characters of the string, if it's longer than
21
+ * that) is used as white space. If this parameter is not provided (or is
22
+ * null), no white space is used. If white space is used, trailing commas
23
+ * will be used in objects and arrays.
24
+ */
25
+ space?: string | number | null
26
+
27
+ /**
28
+ * A String representing the quote character to use when serializing
29
+ * strings.
30
+ */
31
+ quote?: string | null
32
+ }
33
+
34
+ /**
35
+ * Converts a JavaScript value to a JSON5 string.
36
+ * @param value The value to convert to a JSON5 string.
37
+ * @param replacer A function that alters the behavior of the stringification
38
+ * process. If this value is null or not provided, all properties of the object
39
+ * are included in the resulting JSON5 string.
40
+ * @param space A String or Number object that's used to insert white space into
41
+ * the output JSON5 string for readability purposes. If this is a Number, it
42
+ * indicates the number of space characters to use as white space; this number
43
+ * is capped at 10 (if it is greater, the value is just 10). Values less than 1
44
+ * indicate that no space should be used. If this is a String, the string (or
45
+ * the first 10 characters of the string, if it's longer than that) is used as
46
+ * white space. If this parameter is not provided (or is null), no white space
47
+ * is used. If white space is used, trailing commas will be used in objects and
48
+ * arrays.
49
+ * @returns The JSON5 string converted from the JavaScript value.
50
+ */
51
+ declare function stringify(
52
+ value: any,
53
+ replacer?: ((this: any, key: string, value: any) => any) | null,
54
+ space?: string | number | null,
55
+ ): string
56
+
57
+ /**
58
+ * Converts a JavaScript value to a JSON5 string.
59
+ * @param value The value to convert to a JSON5 string.
60
+ * @param replacer An array of String and Number objects that serve as a
61
+ * allowlist for selecting/filtering the properties of the value object to be
62
+ * included in the JSON5 string. If this value is null or not provided, all
63
+ * properties of the object are included in the resulting JSON5 string.
64
+ * @param space A String or Number object that's used to insert white space into
65
+ * the output JSON5 string for readability purposes. If this is a Number, it
66
+ * indicates the number of space characters to use as white space; this number
67
+ * is capped at 10 (if it is greater, the value is just 10). Values less than 1
68
+ * indicate that no space should be used. If this is a String, the string (or
69
+ * the first 10 characters of the string, if it's longer than that) is used as
70
+ * white space. If this parameter is not provided (or is null), no white space
71
+ * is used. If white space is used, trailing commas will be used in objects and
72
+ * arrays.
73
+ * @returns The JSON5 string converted from the JavaScript value.
74
+ */
75
+ declare function stringify(
76
+ value: any,
77
+ replacer: (string | number)[],
78
+ space?: string | number | null,
79
+ ): string
80
+
81
+ /**
82
+ * Converts a JavaScript value to a JSON5 string.
83
+ * @param value The value to convert to a JSON5 string.
84
+ * @param options An object specifying options.
85
+ * @returns The JSON5 string converted from the JavaScript value.
86
+ */
87
+ declare function stringify(value: any, options: StringifyOptions): string
88
+
89
+ export = stringify
@@ -0,0 +1,261 @@
1
+ const util = require('./util')
2
+
3
+ module.exports = function stringify (value, replacer, space) {
4
+ const stack = []
5
+ let indent = ''
6
+ let propertyList
7
+ let replacerFunc
8
+ let gap = ''
9
+ let quote
10
+
11
+ if (
12
+ replacer != null &&
13
+ typeof replacer === 'object' &&
14
+ !Array.isArray(replacer)
15
+ ) {
16
+ space = replacer.space
17
+ quote = replacer.quote
18
+ replacer = replacer.replacer
19
+ }
20
+
21
+ if (typeof replacer === 'function') {
22
+ replacerFunc = replacer
23
+ } else if (Array.isArray(replacer)) {
24
+ propertyList = []
25
+ for (const v of replacer) {
26
+ let item
27
+
28
+ if (typeof v === 'string') {
29
+ item = v
30
+ } else if (
31
+ typeof v === 'number' ||
32
+ v instanceof String ||
33
+ v instanceof Number
34
+ ) {
35
+ item = String(v)
36
+ }
37
+
38
+ if (item !== undefined && propertyList.indexOf(item) < 0) {
39
+ propertyList.push(item)
40
+ }
41
+ }
42
+ }
43
+
44
+ if (space instanceof Number) {
45
+ space = Number(space)
46
+ } else if (space instanceof String) {
47
+ space = String(space)
48
+ }
49
+
50
+ if (typeof space === 'number') {
51
+ if (space > 0) {
52
+ space = Math.min(10, Math.floor(space))
53
+ gap = ' '.substr(0, space)
54
+ }
55
+ } else if (typeof space === 'string') {
56
+ gap = space.substr(0, 10)
57
+ }
58
+
59
+ return serializeProperty('', {'': value})
60
+
61
+ function serializeProperty (key, holder) {
62
+ let value = holder[key]
63
+ if (value != null) {
64
+ if (typeof value.toJSON5 === 'function') {
65
+ value = value.toJSON5(key)
66
+ } else if (typeof value.toJSON === 'function') {
67
+ value = value.toJSON(key)
68
+ }
69
+ }
70
+
71
+ if (replacerFunc) {
72
+ value = replacerFunc.call(holder, key, value)
73
+ }
74
+
75
+ if (value instanceof Number) {
76
+ value = Number(value)
77
+ } else if (value instanceof String) {
78
+ value = String(value)
79
+ } else if (value instanceof Boolean) {
80
+ value = value.valueOf()
81
+ }
82
+
83
+ switch (value) {
84
+ case null: return 'null'
85
+ case true: return 'true'
86
+ case false: return 'false'
87
+ }
88
+
89
+ if (typeof value === 'string') {
90
+ return quoteString(value, false)
91
+ }
92
+
93
+ if (typeof value === 'number') {
94
+ return String(value)
95
+ }
96
+
97
+ if (typeof value === 'object') {
98
+ return Array.isArray(value) ? serializeArray(value) : serializeObject(value)
99
+ }
100
+
101
+ return undefined
102
+ }
103
+
104
+ function quoteString (value) {
105
+ const quotes = {
106
+ "'": 0.1,
107
+ '"': 0.2,
108
+ }
109
+
110
+ const replacements = {
111
+ "'": "\\'",
112
+ '"': '\\"',
113
+ '\\': '\\\\',
114
+ '\b': '\\b',
115
+ '\f': '\\f',
116
+ '\n': '\\n',
117
+ '\r': '\\r',
118
+ '\t': '\\t',
119
+ '\v': '\\v',
120
+ '\0': '\\0',
121
+ '\u2028': '\\u2028',
122
+ '\u2029': '\\u2029',
123
+ }
124
+
125
+ let product = ''
126
+
127
+ for (let i = 0; i < value.length; i++) {
128
+ const c = value[i]
129
+ switch (c) {
130
+ case "'":
131
+ case '"':
132
+ quotes[c]++
133
+ product += c
134
+ continue
135
+
136
+ case '\0':
137
+ if (util.isDigit(value[i + 1])) {
138
+ product += '\\x00'
139
+ continue
140
+ }
141
+ }
142
+
143
+ if (replacements[c]) {
144
+ product += replacements[c]
145
+ continue
146
+ }
147
+
148
+ if (c < ' ') {
149
+ let hexString = c.charCodeAt(0).toString(16)
150
+ product += '\\x' + ('00' + hexString).substring(hexString.length)
151
+ continue
152
+ }
153
+
154
+ product += c
155
+ }
156
+
157
+ const quoteChar = quote || Object.keys(quotes).reduce((a, b) => (quotes[a] < quotes[b]) ? a : b)
158
+
159
+ product = product.replace(new RegExp(quoteChar, 'g'), replacements[quoteChar])
160
+
161
+ return quoteChar + product + quoteChar
162
+ }
163
+
164
+ function serializeObject (value) {
165
+ if (stack.indexOf(value) >= 0) {
166
+ throw TypeError('Converting circular structure to JSON5')
167
+ }
168
+
169
+ stack.push(value)
170
+
171
+ let stepback = indent
172
+ indent = indent + gap
173
+
174
+ let keys = propertyList || Object.keys(value)
175
+ let partial = []
176
+ for (const key of keys) {
177
+ const propertyString = serializeProperty(key, value)
178
+ if (propertyString !== undefined) {
179
+ let member = serializeKey(key) + ':'
180
+ if (gap !== '') {
181
+ member += ' '
182
+ }
183
+ member += propertyString
184
+ partial.push(member)
185
+ }
186
+ }
187
+
188
+ let final
189
+ if (partial.length === 0) {
190
+ final = '{}'
191
+ } else {
192
+ let properties
193
+ if (gap === '') {
194
+ properties = partial.join(',')
195
+ final = '{' + properties + '}'
196
+ } else {
197
+ let separator = ',\n' + indent
198
+ properties = partial.join(separator)
199
+ final = '{\n' + indent + properties + ',\n' + stepback + '}'
200
+ }
201
+ }
202
+
203
+ stack.pop()
204
+ indent = stepback
205
+ return final
206
+ }
207
+
208
+ function serializeKey (key) {
209
+ if (key.length === 0) {
210
+ return quoteString(key, true)
211
+ }
212
+
213
+ const firstChar = String.fromCodePoint(key.codePointAt(0))
214
+ if (!util.isIdStartChar(firstChar)) {
215
+ return quoteString(key, true)
216
+ }
217
+
218
+ for (let i = firstChar.length; i < key.length; i++) {
219
+ if (!util.isIdContinueChar(String.fromCodePoint(key.codePointAt(i)))) {
220
+ return quoteString(key, true)
221
+ }
222
+ }
223
+
224
+ return key
225
+ }
226
+
227
+ function serializeArray (value) {
228
+ if (stack.indexOf(value) >= 0) {
229
+ throw TypeError('Converting circular structure to JSON5')
230
+ }
231
+
232
+ stack.push(value)
233
+
234
+ let stepback = indent
235
+ indent = indent + gap
236
+
237
+ let partial = []
238
+ for (let i = 0; i < value.length; i++) {
239
+ const propertyString = serializeProperty(String(i), value)
240
+ partial.push((propertyString !== undefined) ? propertyString : 'null')
241
+ }
242
+
243
+ let final
244
+ if (partial.length === 0) {
245
+ final = '[]'
246
+ } else {
247
+ if (gap === '') {
248
+ let properties = partial.join(',')
249
+ final = '[' + properties + ']'
250
+ } else {
251
+ let separator = ',\n' + indent
252
+ let properties = partial.join(separator)
253
+ final = '[\n' + indent + properties + ',\n' + stepback + ']'
254
+ }
255
+ }
256
+
257
+ stack.pop()
258
+ indent = stepback
259
+ return final
260
+ }
261
+ }
@@ -0,0 +1,3 @@
1
+ export declare const Space_Separator: RegExp
2
+ export declare const ID_Start: RegExp
3
+ export declare const ID_Continue: RegExp
@@ -0,0 +1,4 @@
1
+ // This is a generated file. Do not edit.
2
+ module.exports.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/
3
+ module.exports.ID_Start = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E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uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/
4
+ module.exports.ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85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\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\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CF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43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\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/
@@ -0,0 +1,5 @@
1
+ export declare function isSpaceSeparator(c?: string): boolean
2
+ export declare function isIdStartChar(c?: string): boolean
3
+ export declare function isIdContinueChar(c?: string): boolean
4
+ export declare function isDigit(c?: string): boolean
5
+ export declare function isHexDigit(c?: string): boolean
@@ -0,0 +1,35 @@
1
+ const unicode = require('../lib/unicode')
2
+
3
+ module.exports = {
4
+ isSpaceSeparator (c) {
5
+ return typeof c === 'string' && unicode.Space_Separator.test(c)
6
+ },
7
+
8
+ isIdStartChar (c) {
9
+ return typeof c === 'string' && (
10
+ (c >= 'a' && c <= 'z') ||
11
+ (c >= 'A' && c <= 'Z') ||
12
+ (c === '$') || (c === '_') ||
13
+ unicode.ID_Start.test(c)
14
+ )
15
+ },
16
+
17
+ isIdContinueChar (c) {
18
+ return typeof c === 'string' && (
19
+ (c >= 'a' && c <= 'z') ||
20
+ (c >= 'A' && c <= 'Z') ||
21
+ (c >= '0' && c <= '9') ||
22
+ (c === '$') || (c === '_') ||
23
+ (c === '\u200C') || (c === '\u200D') ||
24
+ unicode.ID_Continue.test(c)
25
+ )
26
+ },
27
+
28
+ isDigit (c) {
29
+ return typeof c === 'string' && /[0-9]/.test(c)
30
+ },
31
+
32
+ isHexDigit (c) {
33
+ return typeof c === 'string' && /[0-9A-Fa-f]/.test(c)
34
+ },
35
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "json5",
3
+ "description": "Package list used when building/upgrading json5",
4
+ "private": true,
5
+ "dependencies": {
6
+ "esbuild": "0.24.0"
7
+ }
8
+ }
@@ -0,0 +1,5 @@
1
+ npm install
2
+ ./node_modules/.bin/esbuild --bundle package/lib/index.js --format=esm --outdir=lib
3
+ rm -rf node_modules package-lock.json
4
+ # Because there's a bug in clang causing it to reformat import lists even where formatting is disabled, run it right away
5
+ git cl format --js
@@ -1,10 +1,10 @@
1
1
  Name: Puppeteer Core
2
2
  Short Name: Puppeteer Core
3
3
  URL: https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core
4
- Version: 23.5.2
4
+ Version: 23.6.1
5
5
  License: Apache-2.0
6
6
  License File: LICENSE
7
- Revision: cce90d9d96c4ad222263374fe19709c0a99d0ffd
7
+ Revision: 2b06f0a674d8b59f097609993e21cef4caa92e00
8
8
  Security Critical: no
9
9
  Shipped: yes
10
10
 
@@ -1,9 +1,9 @@
1
+ /// <reference types="node" preserve="true" />
1
2
  /**
2
3
  * @license
3
4
  * Copyright 2017 Google Inc.
4
5
  * SPDX-License-Identifier: Apache-2.0
5
6
  */
6
- /// <reference types="node" />
7
7
  import type { ChildProcess } from 'child_process';
8
8
  import type { Protocol } from 'devtools-protocol';
9
9
  import type { ProtocolType } from '../common/ConnectOptions.js';
@@ -257,7 +257,7 @@ export declare abstract class Browser extends EventEmitter<BrowserEvents> {
257
257
  * ```ts
258
258
  * await page.evaluate(() => window.open('https://www.example.com/'));
259
259
  * const newWindowTarget = await browser.waitForTarget(
260
- * target => target.url() === 'https://www.example.com/'
260
+ * target => target.url() === 'https://www.example.com/',
261
261
  * );
262
262
  * ```
263
263
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.d.ts","sourceRoot":"","sources":["../../../../src/api/Browser.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;AAEH,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,eAAe,CAAC;AAEhD,OAAO,KAAK,EAAC,QAAQ,EAAC,M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exports, "__esModule", { value: true });
8
3
  exports.Browser = exports.WEB_PERMISSION_TO_PROTOCOL_PERMISSION = void 0;
9
4
  const rxjs_js_1 = require("../../third_party/rxjs/rxjs.js");
@@ -93,7 +88,7 @@ class Browser extends EventEmitter_js_1.EventEmitter {
93
88
  * ```ts
94
89
  * await page.evaluate(() => window.open('https://www.example.com/'));
95
90
  * const newWindowTarget = await browser.waitForTarget(
96
- * target => target.url() === 'https://www.example.com/'
91
+ * target => target.url() === 'https://www.example.com/',
97
92
  * );
98
93
  * ```
99
94
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Browser.js","sourceRoot":"","sources":["../../../../src/api/Browser.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAMH,4DAKwC;AAExC,+DAAuE;AACvE,+CAM2B;AAC3B,yDAAwE;AAmCxE;;GAEG;AACU,QAAA,qCAAqC,GAAG,IAAI,GAAG,CAG1D;IACA,CAAC,aAAa,EAAE,aAAa,CAAC;IAC9B,CAAC,MAAM,EAAE,MAAM,CAAC;IAChB,CAAC,eAAe,EAAE,eAAe,CAAC;IAClC,iCAAiC;IACjC,oBAAoB;IACpB,CAAC,QAAQ,EAAE,cAAc,CAAC;IAC1B,CAAC,YAAY,EAAE,cAAc,CAAC;IAC9B,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IACrC,CAAC,sBAAsB,EAAE,SAAS,CAAC;IACnC,CAAC,eAAe,EAAE,SAAS,CAAC;IAC5B,CAAC,WAAW,EAAE,SAAS,CAAC;IACxB,CAAC,cAAc,EAAE,SAAS,CAAC;IAC3B,CAAC,sBAAsB,EAAE,qBAAqB,CAAC;IAC/C,CAAC,gBAAgB,EAAE,oBAAoB,CAAC;IACxC,CAAC,iBAAiB,EAAE,oBAAoB,CAAC;IACzC,CAAC,2BAA2B,EAAE,yBAAyB,CAAC;IACxD,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IACrC,CAAC,oBAAoB,EAAE,gBAAgB,CAAC;IACxC,CAAC,gBAAgB,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,EAAE;YACpC,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QACvB,CAAC,EAAE,EAAE,CAAC,CAAC;IACT,CAAC;IAoCD;;;;OAIG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAOD,gBAAgB;IACP,CAAC,6BAAa,CAAC;QACtB,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACnB,OAAO,KAAK,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,oBAAU,CAAC,CAAC;QAC7C,CAAC;QACD,OAAO,KAAK,IAAI,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,oBAAU,CAAC,CAAC;IAClD,CAAC;IAED,gBAAgB;IAChB,CAAC,kCAAkB,CAAC;QAClB,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACnB,OAAO,IAAI,CAAC,KAAK,EAAE,CAAC;QACtB,CAAC;QACD,OAAO,IAAI,CAAC,UAAU,EAAE,CAAC;IAC3B,CAAC;CAkBF;AAnOD,0BAmOC"}
@@ -109,7 +109,7 @@ export declare abstract class BrowserContext extends EventEmitter<BrowserContext
109
109
  * ```ts
110
110
  * await page.evaluate(() => window.open('https://www.example.com/'));
111
111
  * const newWindowTarget = await browserContext.waitForTarget(
112
- * target => target.url() === 'https://www.example.com/'
112
+ * target => target.url() === 'https://www.example.com/',
113
113
  * );
114
114
  * ```
115
115
  */
@@ -93,7 +93,7 @@ class BrowserContext extends EventEmitter_js_1.EventEmitter {
93
93
  * ```ts
94
94
  * await page.evaluate(() => window.open('https://www.example.com/'));
95
95
  * const newWindowTarget = await browserContext.waitForTarget(
96
- * target => target.url() === 'https://www.example.com/'
96
+ * target => target.url() === 'https://www.example.com/',
97
97
  * );
98
98
  * ```
99
99
  */
@@ -68,7 +68,7 @@ export interface CommandOptions {
68
68
  * const client = await page.createCDPSession();
69
69
  * await client.send('Animation.enable');
70
70
  * client.on('Animation.animationCreated', () =>
71
- * console.log('Animation created!')
71
+ * console.log('Animation created!'),
72
72
  * );
73
73
  * const response = await client.send('Animation.getPlaybackRate');
74
74
  * console.log('playback rate is ' + response.playbackRate);
@@ -41,7 +41,7 @@ var CDPSessionEvent;
41
41
  * const client = await page.createCDPSession();
42
42
  * await client.send('Animation.enable');
43
43
  * client.on('Animation.animationCreated', () =>
44
- * console.log('Animation created!')
44
+ * console.log('Animation created!'),
45
45
  * );
46
46
  * const response = await client.send('Animation.getPlaybackRate');
47
47
  * console.log('playback rate is ' + response.playbackRate);
@@ -243,10 +243,10 @@ export declare abstract class ElementHandle<ElementType extends Node = Element>
243
243
  * ```ts
244
244
  * const tweetHandle = await page.$('.tweet');
245
245
  * expect(await tweetHandle.$eval('.like', node => node.innerText)).toBe(
246
- * '100'
246
+ * '100',
247
247
  * );
248
248
  * expect(await tweetHandle.$eval('.retweets', node => node.innerText)).toBe(
249
- * '10'
249
+ * '10',
250
250
  * );
251
251
  * ```
252
252
  *
@@ -294,7 +294,7 @@ export declare abstract class ElementHandle<ElementType extends Node = Element>
294
294
  * ```ts
295
295
  * const feedHandle = await page.$('.feed');
296
296
  * expect(
297
- * await feedHandle.$$eval('.tweet', nodes => nodes.map(n => n.innerText))
297
+ * await feedHandle.$$eval('.tweet', nodes => nodes.map(n => n.innerText)),
298
298
  * ).toEqual(['Hello!', 'Hi!']);
299
299
  * ```
300
300
  *
@@ -392,7 +392,7 @@ export declare abstract class ElementHandle<ElementType extends Node = Element>
392
392
  *
393
393
  * ```ts
394
394
  * const element: ElementHandle<Element> = await page.$(
395
- * '.class-name-of-anchor'
395
+ * '.class-name-of-anchor',
396
396
  * );
397
397
  * // DO NOT DISPOSE `element`, this will be always be the same handle.
398
398
  * const anchor: ElementHandle<HTMLAnchorElement> =