chrome-devtools-mcp 1.6.0 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (277) hide show
  1. package/README.md +26 -9
  2. package/build/src/HeapSnapshotManager.js +62 -23
  3. package/build/src/McpContext.js +64 -23
  4. package/build/src/McpPage.js +225 -11
  5. package/build/src/McpResponse.js +188 -280
  6. package/build/src/PageCollector.js +8 -3
  7. package/build/src/SlimMcpResponse.js +1 -1
  8. package/build/src/TextSnapshot.js +80 -19
  9. package/build/src/ToolHandler.js +19 -8
  10. package/build/src/WaitForHelper.js +142 -68
  11. package/build/src/bin/chrome-devtools-cli-options.js +38 -2
  12. package/build/src/bin/chrome-devtools-mcp-cli-options.js +1 -1
  13. package/build/src/bin/chrome-devtools-mcp-main.js +1 -1
  14. package/build/src/bin/chrome-devtools.js +19 -3
  15. package/build/src/daemon/client.js +22 -0
  16. package/build/src/daemon/daemon.js +15 -11
  17. package/build/src/daemon/utils.js +18 -3
  18. package/build/src/devtools/DevtoolsUtils.js +7 -2
  19. package/build/src/formatters/HeapSnapshotFormatter.js +48 -11
  20. package/build/src/index.js +2 -1
  21. package/build/src/telemetry/ClearcutLogger.js +3 -0
  22. package/build/src/telemetry/transformation.js +30 -0
  23. package/build/src/third_party/THIRD_PARTY_NOTICES +231 -52
  24. package/build/src/third_party/bundled-packages.json +3 -4
  25. package/build/src/third_party/devtools-formatter-worker.js +60 -19
  26. package/build/src/third_party/devtools-heap-snapshot-worker.js +383 -182
  27. package/build/src/third_party/index.js +28280 -9450
  28. package/build/src/third_party/issue-descriptions/CoepCorpNotSameOrigin.md +2 -2
  29. package/build/src/third_party/issue-descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +3 -3
  30. package/build/src/third_party/issue-descriptions/CoepCorpNotSameSite.md +2 -2
  31. package/build/src/third_party/issue-descriptions/CoepFrameResourceNeedsCoepHeader.md +1 -1
  32. package/build/src/third_party/issue-descriptions/CompatibilityModeQuirks.md +1 -1
  33. package/build/src/third_party/issue-descriptions/CookieAttributeValueExceedsMaxSize.md +2 -2
  34. package/build/src/third_party/issue-descriptions/LowTextContrast.md +1 -1
  35. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureErrorRead.md +1 -1
  36. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureErrorSet.md +1 -1
  37. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureWarnRead.md +1 -1
  38. package/build/src/third_party/issue-descriptions/SameSiteNoneInsecureWarnSet.md +1 -1
  39. package/build/src/third_party/issue-descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +3 -3
  40. package/build/src/third_party/issue-descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +3 -3
  41. package/build/src/third_party/issue-descriptions/bounceTrackingMitigations.md +1 -1
  42. package/build/src/third_party/issue-descriptions/connectionAllowlistInvalidAllowlistItemType.md +2 -2
  43. package/build/src/third_party/issue-descriptions/connectionAllowlistInvalidHeader.md +2 -2
  44. package/build/src/third_party/issue-descriptions/connectionAllowlistInvalidUrlPattern.md +3 -3
  45. package/build/src/third_party/issue-descriptions/connectionAllowlistItemNotInnerList.md +2 -2
  46. package/build/src/third_party/issue-descriptions/connectionAllowlistMoreThanOneList.md +2 -2
  47. package/build/src/third_party/issue-descriptions/connectionAllowlistReportingEndpointNotToken.md +1 -1
  48. package/build/src/third_party/issue-descriptions/cookieCrossSiteRedirectDowngrade.md +3 -3
  49. package/build/src/third_party/issue-descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +1 -1
  50. package/build/src/third_party/issue-descriptions/cookieExcludePortMismatch.md +1 -1
  51. package/build/src/third_party/issue-descriptions/cookieExcludeSchemeMismatch.md +1 -1
  52. package/build/src/third_party/issue-descriptions/cookieExcludeThirdPartyPhaseoutSet.md +1 -1
  53. package/build/src/third_party/issue-descriptions/cookieWarnThirdPartyPhaseoutRead.md +1 -1
  54. package/build/src/third_party/issue-descriptions/corsAllowCredentialsRequired.md +1 -1
  55. package/build/src/third_party/issue-descriptions/corsDisabledScheme.md +2 -2
  56. package/build/src/third_party/issue-descriptions/corsDisallowedByMode.md +2 -2
  57. package/build/src/third_party/issue-descriptions/corsHeaderDisallowedByPreflightResponse.md +1 -1
  58. package/build/src/third_party/issue-descriptions/corsInvalidHeaderValues.md +3 -3
  59. package/build/src/third_party/issue-descriptions/corsLocalNetworkAccessPermissionDenied.md +1 -1
  60. package/build/src/third_party/issue-descriptions/corsMethodDisallowedByPreflightResponse.md +1 -1
  61. package/build/src/third_party/issue-descriptions/corsNoCorsRedirectModeNotFollow.md +1 -1
  62. package/build/src/third_party/issue-descriptions/corsOriginMismatch.md +3 -3
  63. package/build/src/third_party/issue-descriptions/corsPreflightResponseInvalid.md +2 -2
  64. package/build/src/third_party/issue-descriptions/corsRedirectContainsCredentials.md +3 -3
  65. package/build/src/third_party/issue-descriptions/corsWildcardOriginNotAllowed.md +4 -3
  66. package/build/src/third_party/issue-descriptions/cspEvalViolation.md +4 -4
  67. package/build/src/third_party/issue-descriptions/cspInlineViolation.md +2 -2
  68. package/build/src/third_party/issue-descriptions/cspTrustedTypesPolicyViolation.md +2 -2
  69. package/build/src/third_party/issue-descriptions/cspTrustedTypesSinkViolation.md +4 -4
  70. package/build/src/third_party/issue-descriptions/cspURLViolation.md +4 -4
  71. package/build/src/third_party/issue-descriptions/emailVerificationRequestAccountsEmptyList.md +1 -1
  72. package/build/src/third_party/issue-descriptions/emailVerificationRequestAccountsHttpNotFound.md +1 -1
  73. package/build/src/third_party/issue-descriptions/emailVerificationRequestAccountsInvalidContentType.md +1 -1
  74. package/build/src/third_party/issue-descriptions/emailVerificationRequestAccountsInvalidResponse.md +1 -1
  75. package/build/src/third_party/issue-descriptions/emailVerificationRequestAccountsNoResponse.md +1 -1
  76. package/build/src/third_party/issue-descriptions/emailVerificationRequestDnsFetchFailed.md +1 -1
  77. package/build/src/third_party/issue-descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -1
  78. package/build/src/third_party/issue-descriptions/emailVerificationRequestEmailVerificationWellKnownHttpNotFound.md +1 -1
  79. package/build/src/third_party/issue-descriptions/emailVerificationRequestEmailVerificationWellKnownInvalidContentType.md +1 -1
  80. package/build/src/third_party/issue-descriptions/emailVerificationRequestEmailVerificationWellKnownInvalidResponse.md +1 -1
  81. package/build/src/third_party/issue-descriptions/emailVerificationRequestEmailVerificationWellKnownNoResponse.md +1 -1
  82. package/build/src/third_party/issue-descriptions/emailVerificationRequestInvalidEmail.md +1 -1
  83. package/build/src/third_party/issue-descriptions/emailVerificationRequestJwksHttpNotFound.md +1 -1
  84. package/build/src/third_party/issue-descriptions/emailVerificationRequestJwksInvalidResponse.md +1 -1
  85. package/build/src/third_party/issue-descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -1
  86. package/build/src/third_party/issue-descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -1
  87. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -1
  88. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -1
  89. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -1
  90. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -1
  91. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -1
  92. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenNoResponse.md +1 -1
  93. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbInvalidAudience.md +1 -1
  94. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbInvalidIssuedAt.md +1 -1
  95. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbInvalidNonce.md +1 -1
  96. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbInvalidSdHash.md +1 -1
  97. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbInvalidTyp.md +1 -1
  98. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbMissingAud.md +1 -1
  99. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbMissingCnf.md +1 -1
  100. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbMissingIat.md +1 -1
  101. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbMissingNonce.md +1 -1
  102. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbMissingSdHash.md +1 -1
  103. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationKbSignatureFailed.md +1 -1
  104. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtInvalidEmail.md +1 -1
  105. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtInvalidEmailVerified.md +1 -1
  106. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtInvalidHolderKey.md +1 -1
  107. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtInvalidIssuedAt.md +1 -1
  108. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtInvalidIssuer.md +1 -1
  109. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtJwksMissingKeys.md +1 -1
  110. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtMissingCnf.md +1 -1
  111. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtMissingEmail.md +1 -1
  112. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtMissingIat.md +1 -1
  113. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtMissingIss.md +1 -1
  114. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtSignatureFailed.md +1 -1
  115. package/build/src/third_party/issue-descriptions/emailVerificationRequestTokenVerificationSdJwtUnsupportedHeaderAlg.md +1 -1
  116. package/build/src/third_party/issue-descriptions/emailVerificationRequestUserLoggedOut.md +1 -1
  117. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -1
  118. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -1
  119. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -1
  120. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -1
  121. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -1
  122. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -1
  123. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -1
  124. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -1
  125. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -1
  126. package/build/src/third_party/issue-descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -1
  127. package/build/src/third_party/issue-descriptions/federatedAuthRequestAccountsHttpNotFound.md +1 -1
  128. package/build/src/third_party/issue-descriptions/federatedAuthRequestAccountsInvalidResponse.md +1 -1
  129. package/build/src/third_party/issue-descriptions/federatedAuthRequestAccountsNoResponse.md +1 -1
  130. package/build/src/third_party/issue-descriptions/federatedAuthRequestApprovalDeclined.md +1 -1
  131. package/build/src/third_party/issue-descriptions/federatedAuthRequestCanceled.md +1 -1
  132. package/build/src/third_party/issue-descriptions/federatedAuthRequestErrorFetchingSignin.md +1 -1
  133. package/build/src/third_party/issue-descriptions/federatedAuthRequestErrorIdToken.md +1 -1
  134. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenHttpNotFound.md +1 -1
  135. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -1
  136. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -1
  137. package/build/src/third_party/issue-descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -1
  138. package/build/src/third_party/issue-descriptions/federatedAuthRequestInvalidSigninResponse.md +1 -1
  139. package/build/src/third_party/issue-descriptions/federatedAuthRequestManifestHttpNotFound.md +1 -1
  140. package/build/src/third_party/issue-descriptions/federatedAuthRequestManifestInvalidResponse.md +1 -1
  141. package/build/src/third_party/issue-descriptions/federatedAuthRequestManifestNoResponse.md +1 -1
  142. package/build/src/third_party/issue-descriptions/federatedAuthRequestTooManyRequests.md +1 -1
  143. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +1 -1
  144. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +1 -1
  145. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +1 -1
  146. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNoApiPermission.md +1 -1
  147. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +1 -1
  148. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotIframe.md +1 -1
  149. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +1 -1
  150. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +1 -1
  151. package/build/src/third_party/issue-descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +1 -1
  152. package/build/src/third_party/issue-descriptions/fetchingPartitionedBlobURL.md +2 -2
  153. package/build/src/third_party/issue-descriptions/genericFormAriaLabelledByToNonExistingIdError.md +2 -2
  154. package/build/src/third_party/issue-descriptions/genericFormAutocompleteAttributeEmptyError.md +1 -1
  155. package/build/src/third_party/issue-descriptions/genericFormDuplicateIdForInputError.md +1 -1
  156. package/build/src/third_party/issue-descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +2 -2
  157. package/build/src/third_party/issue-descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +2 -2
  158. package/build/src/third_party/issue-descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +1 -1
  159. package/build/src/third_party/issue-descriptions/genericFormInputWithNoLabelError.md +1 -1
  160. package/build/src/third_party/issue-descriptions/genericFormLabelForMatchesNonExistingIdError.md +2 -2
  161. package/build/src/third_party/issue-descriptions/genericFormLabelForNameError.md +1 -1
  162. package/build/src/third_party/issue-descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +1 -1
  163. package/build/src/third_party/issue-descriptions/genericFormModelContextMissingToolName.md +1 -1
  164. package/build/src/third_party/issue-descriptions/genericFormModelContextParameterMissingName.md +1 -1
  165. package/build/src/third_party/issue-descriptions/genericFormModelContextRequiredParameterMissingName.md +1 -1
  166. package/build/src/third_party/issue-descriptions/genericNavigationEntryMarkedSkippable.md +2 -2
  167. package/build/src/third_party/issue-descriptions/heavyAd.md +1 -1
  168. package/build/src/third_party/issue-descriptions/lazyLoadImageZeroSize.md +7 -0
  169. package/build/src/third_party/issue-descriptions/navigatingPartitionedBlobURL.md +3 -3
  170. package/build/src/third_party/issue-descriptions/permissionElementActivationDisabled.md +1 -1
  171. package/build/src/third_party/issue-descriptions/permissionElementActivationDisabledWithOccluder.md +1 -1
  172. package/build/src/third_party/issue-descriptions/permissionElementActivationDisabledWithOccluderParent.md +1 -1
  173. package/build/src/third_party/issue-descriptions/permissionElementFencedFrameDisallowed.md +2 -2
  174. package/build/src/third_party/issue-descriptions/permissionElementFontSizeTooLarge.md +2 -2
  175. package/build/src/third_party/issue-descriptions/permissionElementFontSizeTooSmall.md +2 -2
  176. package/build/src/third_party/issue-descriptions/permissionElementInsetBoxShadowUnsupported.md +1 -1
  177. package/build/src/third_party/issue-descriptions/permissionElementInvalidDisplayStyle.md +2 -2
  178. package/build/src/third_party/issue-descriptions/permissionElementInvalidSizeValue.md +2 -2
  179. package/build/src/third_party/issue-descriptions/permissionElementInvalidType.md +2 -2
  180. package/build/src/third_party/issue-descriptions/permissionElementInvalidTypeActivation.md +2 -2
  181. package/build/src/third_party/issue-descriptions/permissionElementNonOpaqueColor.md +1 -1
  182. package/build/src/third_party/issue-descriptions/permissionElementPaddingBottomUnsupported.md +2 -2
  183. package/build/src/third_party/issue-descriptions/permissionElementPaddingRightUnsupported.md +2 -2
  184. package/build/src/third_party/issue-descriptions/permissionElementRequestInProgress.md +2 -2
  185. package/build/src/third_party/issue-descriptions/permissionElementSecurityChecksFailed.md +1 -1
  186. package/build/src/third_party/issue-descriptions/permissionElementTypeNotSupported.md +2 -2
  187. package/build/src/third_party/issue-descriptions/permissionElementUntrustedEvent.md +1 -1
  188. package/build/src/third_party/issue-descriptions/placeholderDescriptionForInvisibleIssues.md +1 -1
  189. package/build/src/third_party/issue-descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +1 -1
  190. package/build/src/third_party/issue-descriptions/selectElementAccessibilityDisallowedSelectChild.md +1 -1
  191. package/build/src/third_party/issue-descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +1 -1
  192. package/build/src/third_party/issue-descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +1 -1
  193. package/build/src/third_party/issue-descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +1 -1
  194. package/build/src/third_party/issue-descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +1 -1
  195. package/build/src/third_party/issue-descriptions/selectivePermissionsIntervention.md +3 -3
  196. package/build/src/third_party/issue-descriptions/sharedArrayBuffer.md +1 -1
  197. package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +1 -1
  198. package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +1 -1
  199. package/build/src/third_party/issue-descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +1 -1
  200. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +1 -1
  201. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +1 -1
  202. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorExpiredResponse.md +1 -1
  203. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +2 -2
  204. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +1 -1
  205. package/build/src/third_party/issue-descriptions/sharedDictionaryWriteErrorNavigationRequest.md +2 -2
  206. package/build/src/third_party/issue-descriptions/sriInvalidSignatureHeader.md +4 -4
  207. package/build/src/third_party/issue-descriptions/sriInvalidSignatureInputHeader.md +4 -4
  208. package/build/src/third_party/issue-descriptions/sriMissingSignatureHeader.md +1 -1
  209. package/build/src/third_party/issue-descriptions/sriMissingSignatureInputHeader.md +2 -2
  210. package/build/src/third_party/issue-descriptions/sriSignatureHeaderValueIsIncorrectLength.md +2 -2
  211. package/build/src/third_party/issue-descriptions/sriSignatureHeaderValueIsNotByteSequence.md +4 -4
  212. package/build/src/third_party/issue-descriptions/sriSignatureHeaderValueIsParameterized.md +4 -4
  213. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidComponentName.md +1 -1
  214. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidComponentType.md +2 -2
  215. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +1 -1
  216. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +1 -1
  217. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderInvalidParameter.md +2 -2
  218. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderKeyIdLength.md +5 -5
  219. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderMissingLabel.md +3 -3
  220. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +2 -2
  221. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderValueMissingComponents.md +2 -2
  222. package/build/src/third_party/issue-descriptions/sriSignatureInputHeaderValueNotInnerList.md +2 -2
  223. package/build/src/third_party/issue-descriptions/sriValidationFailedIntegrityMismatch.md +4 -4
  224. package/build/src/third_party/issue-descriptions/sriValidationFailedInvalidLength.md +3 -3
  225. package/build/src/third_party/issue-descriptions/sriValidationFailedSignatureExpired.md +2 -2
  226. package/build/src/third_party/issue-descriptions/sriValidationFailedSignatureMismatch.md +2 -2
  227. package/build/src/third_party/issue-descriptions/stylesheetLateImport.md +1 -1
  228. package/build/src/third_party/issue-descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +1 -1
  229. package/build/src/third_party/issue-descriptions/unencodedDigestIncorrectDigestLength.md +2 -2
  230. package/build/src/third_party/issue-descriptions/unencodedDigestIncorrectDigestType.md +3 -3
  231. package/build/src/third_party/issue-descriptions/unencodedDigestMalformedDictionary.md +2 -2
  232. package/build/src/third_party/issue-descriptions/unencodedDigestUnknownAlgorithm.md +1 -1
  233. package/build/src/third_party/lighthouse-devtools-mcp-bundle.js +1125 -1027
  234. package/build/src/tools/input.js +197 -105
  235. package/build/src/tools/memory.js +35 -4
  236. package/build/src/tools/network.js +1 -1
  237. package/build/src/tools/pages.js +1 -0
  238. package/build/src/tools/performance.js +60 -39
  239. package/build/src/tools/screenshot.js +152 -77
  240. package/build/src/tools/script.js +95 -31
  241. package/build/src/utils/polyfill.js +6 -3
  242. package/build/src/utils/url.js +43 -0
  243. package/build/src/version.js +1 -1
  244. package/package.json +20 -16
  245. package/skills/memory-leak-debugging/SKILL.md +12 -16
  246. package/skills/memory-leak-debugging/references/common-leaks.md +1 -1
  247. package/build/src/devtools/DevToolsConnectionAdapter.js +0 -70
  248. package/build/src/third_party/issue-descriptions/SameSiteExcludeContextDowngradeRead.md +0 -8
  249. package/build/src/third_party/issue-descriptions/SameSiteExcludeContextDowngradeSet.md +0 -8
  250. package/build/src/third_party/issue-descriptions/SameSiteExcludeNavigationContextDowngrade.md +0 -8
  251. package/build/src/third_party/issue-descriptions/SameSiteWarnCrossDowngradeRead.md +0 -8
  252. package/build/src/third_party/issue-descriptions/SameSiteWarnCrossDowngradeSet.md +0 -8
  253. package/build/src/third_party/issue-descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +0 -8
  254. package/build/src/third_party/issue-descriptions/arInsecureContext.md +0 -7
  255. package/build/src/third_party/issue-descriptions/arInvalidInfoHeader.md +0 -5
  256. package/build/src/third_party/issue-descriptions/arInvalidRegisterOsSourceHeader.md +0 -5
  257. package/build/src/third_party/issue-descriptions/arInvalidRegisterOsTriggerHeader.md +0 -5
  258. package/build/src/third_party/issue-descriptions/arInvalidRegisterSourceHeader.md +0 -5
  259. package/build/src/third_party/issue-descriptions/arInvalidRegisterTriggerHeader.md +0 -5
  260. package/build/src/third_party/issue-descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +0 -5
  261. package/build/src/third_party/issue-descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +0 -6
  262. package/build/src/third_party/issue-descriptions/arNoRegisterOsSourceHeader.md +0 -5
  263. package/build/src/third_party/issue-descriptions/arNoRegisterOsTriggerHeader.md +0 -5
  264. package/build/src/third_party/issue-descriptions/arNoRegisterSourceHeader.md +0 -5
  265. package/build/src/third_party/issue-descriptions/arNoRegisterTriggerHeader.md +0 -5
  266. package/build/src/third_party/issue-descriptions/arNoWebOrOsSupport.md +0 -4
  267. package/build/src/third_party/issue-descriptions/arOsSourceIgnored.md +0 -18
  268. package/build/src/third_party/issue-descriptions/arOsTriggerIgnored.md +0 -19
  269. package/build/src/third_party/issue-descriptions/arPermissionPolicyDisabled.md +0 -8
  270. package/build/src/third_party/issue-descriptions/arSourceAndTriggerHeaders.md +0 -9
  271. package/build/src/third_party/issue-descriptions/arSourceIgnored.md +0 -13
  272. package/build/src/third_party/issue-descriptions/arTriggerIgnored.md +0 -12
  273. package/build/src/third_party/issue-descriptions/arUntrustworthyReportingOrigin.md +0 -10
  274. package/build/src/third_party/issue-descriptions/arWebAndOsHeaders.md +0 -11
  275. package/build/src/utils/Mutex.js +0 -38
  276. package/skills/memory-leak-debugging/references/compare_snapshots.js +0 -109
  277. package/skills/memory-leak-debugging/references/memlab.md +0 -29
@@ -88,7 +88,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
88
88
 
89
89
  Name: get-east-asian-width
90
90
  URL: sindresorhus/get-east-asian-width
91
- Version: 1.4.0
91
+ Version: 1.6.0
92
92
  License: MIT
93
93
 
94
94
  MIT License
@@ -230,7 +230,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
230
230
 
231
231
  Name: yargs
232
232
  URL: https://yargs.js.org/
233
- Version: 18.0.0
233
+ Version: 18.1.0
234
234
  License: MIT
235
235
 
236
236
  MIT License
@@ -376,42 +376,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
376
376
  SOFTWARE.
377
377
 
378
378
 
379
- -------------------- DEPENDENCY DIVIDER --------------------
380
-
381
- Name: has-flag
382
- URL: sindresorhus/has-flag
383
- Version: 4.0.0
384
- License: MIT
385
-
386
- MIT License
387
-
388
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
389
-
390
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
391
-
392
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
393
-
394
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
395
-
396
-
397
- -------------------- DEPENDENCY DIVIDER --------------------
398
-
399
- Name: supports-color
400
- URL: chalk/supports-color
401
- Version: 7.2.0
402
- License: MIT
403
-
404
- MIT License
405
-
406
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
407
-
408
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
409
-
410
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
411
-
412
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
413
-
414
-
415
379
  -------------------- DEPENDENCY DIVIDER --------------------
416
380
 
417
381
  Name: zod
@@ -446,7 +410,7 @@ SOFTWARE.
446
410
 
447
411
  Name: @modelcontextprotocol/sdk
448
412
  URL: https://modelcontextprotocol.io
449
- Version: 1.29.0
413
+ Version: 1.30.0
450
414
  License: MIT
451
415
 
452
416
  MIT License
@@ -590,7 +554,7 @@ SOFTWARE.
590
554
 
591
555
  Name: fast-uri
592
556
  URL: https://github.com/fastify/fast-uri
593
- Version: 3.1.2
557
+ Version: 3.1.5
594
558
  License: BSD-3-Clause
595
559
 
596
560
  Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
@@ -840,21 +804,21 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
840
804
 
841
805
  Name: puppeteer-core
842
806
  URL: https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core
843
- Version: 25.3.0
807
+ Version: 25.5.0
844
808
  License: Apache-2.0
845
809
 
846
810
  -------------------- DEPENDENCY DIVIDER --------------------
847
811
 
848
812
  Name: @puppeteer/browsers
849
813
  URL: https://github.com/puppeteer/puppeteer/tree/main/packages/browsers
850
- Version: 3.0.6
814
+ Version: 3.1.0
851
815
  License: Apache-2.0
852
816
 
853
817
  -------------------- DEPENDENCY DIVIDER --------------------
854
818
 
855
819
  Name: ws
856
820
  URL: https://github.com/websockets/ws
857
- Version: 8.21.0
821
+ Version: 8.21.1
858
822
  License: MIT
859
823
 
860
824
  Copyright (c) 2011 Einar Otto Stangvik <einaros@gmail.com>
@@ -879,6 +843,13 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
879
843
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
880
844
 
881
845
 
846
+ -------------------- DEPENDENCY DIVIDER --------------------
847
+
848
+ Name: marked
849
+ URL: https://marked.js.org
850
+ Version: 18.0.4
851
+ License: MIT
852
+
882
853
  -------------------- DEPENDENCY DIVIDER --------------------
883
854
 
884
855
  Name: chrome-devtools-frontend
@@ -1124,6 +1095,214 @@ License: Apache-2.0
1124
1095
 
1125
1096
  -------------------- DEPENDENCY DIVIDER --------------------
1126
1097
 
1098
+ Name: diff
1099
+ License:
1100
+
1101
+
1102
+ Apache License
1103
+ Version 2.0, January 2004
1104
+ http://www.apache.org/licenses/
1105
+
1106
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1107
+
1108
+ 1. Definitions.
1109
+
1110
+ "License" shall mean the terms and conditions for use, reproduction,
1111
+ and distribution as defined by Sections 1 through 9 of this document.
1112
+
1113
+ "Licensor" shall mean the copyright owner or entity authorized by
1114
+ the copyright owner that is granting the License.
1115
+
1116
+ "Legal Entity" shall mean the union of the acting entity and all
1117
+ other entities that control, are controlled by, or are under common
1118
+ control with that entity. For the purposes of this definition,
1119
+ "control" means (i) the power, direct or indirect, to cause the
1120
+ direction or management of such entity, whether by contract or
1121
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
1122
+ outstanding shares, or (iii) beneficial ownership of such entity.
1123
+
1124
+ "You" (or "Your") shall mean an individual or Legal Entity
1125
+ exercising permissions granted by this License.
1126
+
1127
+ "Source" form shall mean the preferred form for making modifications,
1128
+ including but not limited to software source code, documentation
1129
+ source, and configuration files.
1130
+
1131
+ "Object" form shall mean any form resulting from mechanical
1132
+ transformation or translation of a Source form, including but
1133
+ not limited to compiled object code, generated documentation,
1134
+ and conversions to other media types.
1135
+
1136
+ "Work" shall mean the work of authorship, whether in Source or
1137
+ Object form, made available under the License, as indicated by a
1138
+ copyright notice that is included in or attached to the work
1139
+ (an example is provided in the Appendix below).
1140
+
1141
+ "Derivative Works" shall mean any work, whether in Source or Object
1142
+ form, that is based on (or derived from) the Work and for which the
1143
+ editorial revisions, annotations, elaborations, or other modifications
1144
+ represent, as a whole, an original work of authorship. For the purposes
1145
+ of this License, Derivative Works shall not include works that remain
1146
+ separable from, or merely link (or bind by name) to the interfaces of,
1147
+ the Work and Derivative Works thereof.
1148
+
1149
+ "Contribution" shall mean any work of authorship, including
1150
+ the original version of the Work and any modifications or additions
1151
+ to that Work or Derivative Works thereof, that is intentionally
1152
+ submitted to Licensor for inclusion in the Work by the copyright owner
1153
+ or by an individual or Legal Entity authorized to submit on behalf of
1154
+ the copyright owner. For the purposes of this definition, "submitted"
1155
+ means any form of electronic, verbal, or written communication sent
1156
+ to the Licensor or its representatives, including but not limited to
1157
+ communication on electronic mailing lists, source code control systems,
1158
+ and issue tracking systems that are managed by, or on behalf of, the
1159
+ Licensor for the purpose of discussing and improving the Work, but
1160
+ excluding communication that is conspicuously marked or otherwise
1161
+ designated in writing by the copyright owner as "Not a Contribution."
1162
+
1163
+ "Contributor" shall mean Licensor and any individual or Legal Entity
1164
+ on behalf of whom a Contribution has been received by Licensor and
1165
+ subsequently incorporated within the Work.
1166
+
1167
+ 2. Grant of Copyright License. Subject to the terms and conditions of
1168
+ this License, each Contributor hereby grants to You a perpetual,
1169
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1170
+ copyright license to reproduce, prepare Derivative Works of,
1171
+ publicly display, publicly perform, sublicense, and distribute the
1172
+ Work and such Derivative Works in Source or Object form.
1173
+
1174
+ 3. Grant of Patent License. Subject to the terms and conditions of
1175
+ this License, each Contributor hereby grants to You a perpetual,
1176
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1177
+ (except as stated in this section) patent license to make, have made,
1178
+ use, offer to sell, sell, import, and otherwise transfer the Work,
1179
+ where such license applies only to those patent claims licensable
1180
+ by such Contributor that are necessarily infringed by their
1181
+ Contribution(s) alone or by combination of their Contribution(s)
1182
+ with the Work to which such Contribution(s) was submitted. If You
1183
+ institute patent litigation against any entity (including a
1184
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
1185
+ or a Contribution incorporated within the Work constitutes direct
1186
+ or contributory patent infringement, then any patent licenses
1187
+ granted to You under this License for that Work shall terminate
1188
+ as of the date such litigation is filed.
1189
+
1190
+ 4. Redistribution. You may reproduce and distribute copies of the
1191
+ Work or Derivative Works thereof in any medium, with or without
1192
+ modifications, and in Source or Object form, provided that You
1193
+ meet the following conditions:
1194
+
1195
+ (a) You must give any other recipients of the Work or
1196
+ Derivative Works a copy of this License; and
1197
+
1198
+ (b) You must cause any modified files to carry prominent notices
1199
+ stating that You changed the files; and
1200
+
1201
+ (c) You must retain, in the Source form of any Derivative Works
1202
+ that You distribute, all copyright, patent, trademark, and
1203
+ attribution notices from the Source form of the Work,
1204
+ excluding those notices that do not pertain to any part of
1205
+ the Derivative Works; and
1206
+
1207
+ (d) If the Work includes a "NOTICE" text file as part of its
1208
+ distribution, then any Derivative Works that You distribute must
1209
+ include a readable copy of the attribution notices contained
1210
+ within such NOTICE file, excluding those notices that do not
1211
+ pertain to any part of the Derivative Works, in at least one
1212
+ of the following places: within a NOTICE text file distributed
1213
+ as part of the Derivative Works; within the Source form or
1214
+ documentation, if provided along with the Derivative Works; or,
1215
+ within a display generated by the Derivative Works, if and
1216
+ wherever such third-party notices normally appear. The contents
1217
+ of the NOTICE file are for informational purposes only and
1218
+ do not modify the License. You may add Your own attribution
1219
+ notices within Derivative Works that You distribute, alongside
1220
+ or as an addendum to the NOTICE text from the Work, provided
1221
+ that such additional attribution notices cannot be construed
1222
+ as modifying the License.
1223
+
1224
+ You may add Your own copyright statement to Your modifications and
1225
+ may provide additional or different license terms and conditions
1226
+ for use, reproduction, or distribution of Your modifications, or
1227
+ for any such Derivative Works as a whole, provided Your use,
1228
+ reproduction, and distribution of the Work otherwise complies with
1229
+ the conditions stated in this License.
1230
+
1231
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
1232
+ any Contribution intentionally submitted for inclusion in the Work
1233
+ by You to the Licensor shall be under the terms and conditions of
1234
+ this License, without any additional terms or conditions.
1235
+ Notwithstanding the above, nothing herein shall supersede or modify
1236
+ the terms of any separate license agreement you may have executed
1237
+ with Licensor regarding such Contributions.
1238
+
1239
+ 6. Trademarks. This License does not grant permission to use the trade
1240
+ names, trademarks, service marks, or product names of the Licensor,
1241
+ except as required for reasonable and customary use in describing the
1242
+ origin of the Work and reproducing the content of the NOTICE file.
1243
+
1244
+ 7. Disclaimer of Warranty. Unless required by applicable law or
1245
+ agreed to in writing, Licensor provides the Work (and each
1246
+ Contributor provides its Contributions) on an "AS IS" BASIS,
1247
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1248
+ implied, including, without limitation, any warranties or conditions
1249
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1250
+ PARTICULAR PURPOSE. You are solely responsible for determining the
1251
+ appropriateness of using or redistributing the Work and assume any
1252
+ risks associated with Your exercise of permissions under this License.
1253
+
1254
+ 8. Limitation of Liability. In no event and under no legal theory,
1255
+ whether in tort (including negligence), contract, or otherwise,
1256
+ unless required by applicable law (such as deliberate and grossly
1257
+ negligent acts) or agreed to in writing, shall any Contributor be
1258
+ liable to You for damages, including any direct, indirect, special,
1259
+ incidental, or consequential damages of any character arising as a
1260
+ result of this License or out of the use or inability to use the
1261
+ Work (including but not limited to damages for loss of goodwill,
1262
+ work stoppage, computer failure or malfunction, or any and all
1263
+ other commercial damages or losses), even if such Contributor
1264
+ has been advised of the possibility of such damages.
1265
+
1266
+ 9. Accepting Warranty or Additional Liability. While redistributing
1267
+ the Work or Derivative Works thereof, You may choose to offer,
1268
+ and charge a fee for, acceptance of support, warranty, indemnity,
1269
+ or other liability obligations and/or rights consistent with this
1270
+ License. However, in accepting such obligations, You may act only
1271
+ on Your own behalf and on Your sole responsibility, not on behalf
1272
+ of any other Contributor, and only if You agree to indemnify,
1273
+ defend, and hold each Contributor harmless for any liability
1274
+ incurred by, or claims asserted against, such Contributor by reason
1275
+ of your accepting any such warranty or additional liability.
1276
+
1277
+ END OF TERMS AND CONDITIONS
1278
+
1279
+ APPENDIX: How to apply the Apache License to your work.
1280
+
1281
+ To apply the Apache License to your work, attach the following
1282
+ boilerplate notice, with the fields enclosed by brackets "[]"
1283
+ replaced with your own identifying information. (Don't include
1284
+ the brackets!) The text should be enclosed in the appropriate
1285
+ comment syntax for the file format. We also recommend that a
1286
+ file or class name and description of purpose be included on the
1287
+ same "printed page" as the copyright notice for easier
1288
+ identification within third-party archives.
1289
+
1290
+ Copyright [yyyy] [name of copyright owner]
1291
+
1292
+ Licensed under the Apache License, Version 2.0 (the "License");
1293
+ you may not use this file except in compliance with the License.
1294
+ You may obtain a copy of the License at
1295
+
1296
+ http://www.apache.org/licenses/LICENSE-2.0
1297
+
1298
+ Unless required by applicable law or agreed to in writing, software
1299
+ distributed under the License is distributed on an "AS IS" BASIS,
1300
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1301
+ See the License for the specific language governing permissions and
1302
+ limitations under the License.
1303
+
1304
+ -------------------- DEPENDENCY DIVIDER --------------------
1305
+
1127
1306
  Name: i18n
1128
1307
  License:
1129
1308
 
@@ -1778,7 +1957,7 @@ License: BSD-3-Clause
1778
1957
 
1779
1958
  Name: @sentry/node
1780
1959
  URL: https://github.com/getsentry/sentry-javascript/tree/master/packages/node
1781
- Version: 9.28.1
1960
+ Version: 10.58.0
1782
1961
  License: MIT
1783
1962
 
1784
1963
  MIT License
@@ -1808,7 +1987,7 @@ SOFTWARE.
1808
1987
 
1809
1988
  Name: axe-core
1810
1989
  URL: https://www.deque.com/axe/
1811
- Version: 4.12.0
1990
+ Version: 4.12.1
1812
1991
  License: MPL-2.0
1813
1992
 
1814
1993
  Mozilla Public License, version 2.0
@@ -2389,7 +2568,7 @@ License: Apache-2.0
2389
2568
 
2390
2569
  Name: debug
2391
2570
  URL: git://github.com/debug-js/debug.git
2392
- Version: 4.4.3
2571
+ Version: 4.3.4
2393
2572
  License: MIT
2394
2573
 
2395
2574
  (The MIT License)
@@ -3213,13 +3392,13 @@ APPENDIX: How to apply the Apache License to your work
3213
3392
  -------------------- DEPENDENCY DIVIDER --------------------
3214
3393
 
3215
3394
  Name: ms
3216
- URL: vercel/ms
3217
- Version: 2.1.3
3395
+ URL: zeit/ms
3396
+ Version: 2.1.2
3218
3397
  License: MIT
3219
3398
 
3220
3399
  The MIT License (MIT)
3221
3400
 
3222
- Copyright (c) 2020 Vercel, Inc.
3401
+ Copyright (c) 2016 Zeit, Inc.
3223
3402
 
3224
3403
  Permission is hereby granted, free of charge, to any person obtaining a copy
3225
3404
  of this software and associated documentation files (the "Software"), to deal
@@ -3244,7 +3423,7 @@ SOFTWARE.
3244
3423
 
3245
3424
  Name: puppeteer-core
3246
3425
  URL: https://github.com/puppeteer/puppeteer/tree/main/packages/puppeteer-core
3247
- Version: 25.0.2
3426
+ Version: 25.3.0
3248
3427
  License: Apache-2.0
3249
3428
 
3250
3429
  -------------------- DEPENDENCY DIVIDER --------------------
@@ -3310,7 +3489,7 @@ SOFTWARE.
3310
3489
 
3311
3490
  Name: tldts-core
3312
3491
  URL: https://github.com/remusao/tldts#readme
3313
- Version: 7.4.2
3492
+ Version: 7.4.9
3314
3493
  License: MIT
3315
3494
 
3316
3495
  Copyright (c) 2017 Thomas Parisot, 2018 Rémi Berson
@@ -3332,7 +3511,7 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTH
3332
3511
 
3333
3512
  Name: tldts-icann
3334
3513
  URL: https://github.com/remusao/tldts#readme
3335
- Version: 7.4.2
3514
+ Version: 7.4.9
3336
3515
  License: MIT
3337
3516
 
3338
3517
  Copyright (c) 2017 Thomas Parisot, 2018 Rémi Berson
@@ -1,10 +1,9 @@
1
1
  {
2
- "@modelcontextprotocol/sdk": "1.29.0",
3
- "chrome-devtools-frontend": "1.0.1652307",
2
+ "@modelcontextprotocol/sdk": "1.30.0",
4
3
  "core-js": "3.49.0",
5
4
  "debug": "4.4.3",
6
5
  "lighthouse": "13.4.0",
7
6
  "semver": "7.8.5",
8
- "yargs": "18.0.0",
9
- "puppeteer-core": "25.3.0"
7
+ "yargs": "18.1.0",
8
+ "puppeteer-core": "25.5.0"
10
9
  }
@@ -2675,8 +2675,11 @@ class FormattedContentBuilder {
2675
2675
  }
2676
2676
  addToken(token, offset) {
2677
2677
  if (this.#enforceSpaceBetweenWords && !this.#hardSpaces && !this.#softSpace) {
2678
- const lastCharOfLastToken = this.#formattedContent.at(-1)?.at(-1) ?? '';
2679
- if (this.#canBeIdentifierOrNumber.test(lastCharOfLastToken) && this.#canBeIdentifierOrNumber.test(token)) {
2678
+ const lastToken = this.#formattedContent.at(-1) ?? '';
2679
+ const lastCharOfLastToken = lastToken.at(-1) ?? '';
2680
+ if ((this.#canBeIdentifierOrNumber.test(lastCharOfLastToken) ||
2681
+ ['`', '}', ')', ']', '\'', '"', '/'].includes(lastCharOfLastToken)) &&
2682
+ this.#canBeIdentifierOrNumber.test(token)) {
2680
2683
  this.addSoftSpace();
2681
2684
  }
2682
2685
  }
@@ -12251,7 +12254,7 @@ function lockedLazyString(str) {
12251
12254
  // Copyright 2014 The Chromium Authors
12252
12255
  const UIStrings$2 = {
12253
12256
  elementsPanel: 'Elements panel',
12254
- stylesSidebar: 'styles sidebar',
12257
+ stylesSidebar: 'Styles sidebar',
12255
12258
  changesDrawer: 'Changes drawer',
12256
12259
  issuesView: 'Issues view',
12257
12260
  networkPanel: 'Network panel',
@@ -12260,7 +12263,7 @@ const UIStrings$2 = {
12260
12263
  sourcesPanel: 'Sources panel',
12261
12264
  timelinePanel: 'Performance panel',
12262
12265
  memoryInspectorPanel: 'Memory inspector panel',
12263
- developerResourcesPanel: 'Developer Resources panel',
12266
+ developerResourcesPanel: 'Developer resources panel',
12264
12267
  animationsPanel: 'Animations panel',
12265
12268
  lighthousePanel: 'Lighthouse panel',
12266
12269
  };
@@ -12693,7 +12696,11 @@ class ParsedURL {
12693
12696
  return 'data:';
12694
12697
  }
12695
12698
  const scheme = this.isBlobURL() ? this.blobInnerScheme : this.scheme;
12696
- return scheme + '://' + this.domain();
12699
+ const domain = this.domain();
12700
+ if (!scheme && !domain) {
12701
+ return '';
12702
+ }
12703
+ return scheme + '://' + domain;
12697
12704
  }
12698
12705
  urlWithoutScheme() {
12699
12706
  if (this.scheme && this.url.startsWith(this.scheme + '://')) {
@@ -13090,7 +13097,6 @@ const UIStrings = {
13090
13097
  extension: 'Extension',
13091
13098
  adorner: 'Adorner',
13092
13099
  account: 'Account',
13093
- privacy: 'Privacy',
13094
13100
  };
13095
13101
  const str_ = registerUIStrings('core/common/SettingRegistration.ts', UIStrings);
13096
13102
  getLocalizedString.bind(undefined, str_);
@@ -13394,9 +13400,11 @@ class JavaScriptFormatter {
13394
13400
  const format = this.#formatToken(node.parent, token);
13395
13401
  this.#push(token, format);
13396
13402
  }
13403
+ if (node.parent?.type === 'TemplateLiteral' && node.type !== 'TemplateElement' && node.type !== 'TemplateLiteral') {
13404
+ this.#builder.setEnforceSpaceBetweenWords(true);
13405
+ }
13397
13406
  }
13398
13407
  #afterVisit(node) {
13399
- const restore = this.#builder.setEnforceSpaceBetweenWords(node.type !== 'TemplateElement');
13400
13408
  let token;
13401
13409
  while ((token = this.#tokenizer.peekToken()) && token.start < node.end) {
13402
13410
  const token = this.#tokenizer.nextToken();
@@ -13404,7 +13412,12 @@ class JavaScriptFormatter {
13404
13412
  this.#push(token, format);
13405
13413
  }
13406
13414
  this.#push(null, this.#finishNode(node));
13407
- this.#builder.setEnforceSpaceBetweenWords(restore || node.type === 'TemplateLiteral');
13415
+ if (node.parent?.type === 'TemplateLiteral' && node.type !== 'TemplateElement' && node.type !== 'TemplateLiteral') {
13416
+ this.#builder.setEnforceSpaceBetweenWords(false);
13417
+ }
13418
+ else if (node.type === 'TemplateLiteral' && node.parent?.type !== 'TemplateLiteral') {
13419
+ this.#builder.setEnforceSpaceBetweenWords(true);
13420
+ }
13408
13421
  }
13409
13422
  #inForLoopHeader(node) {
13410
13423
  const parent = node.parent;
@@ -13922,10 +13935,15 @@ class HTMLFormatter {
13922
13935
  this.#builder.addNewLine();
13923
13936
  }
13924
13937
  #formatToken(element, token) {
13925
- if (isWhitespace(token.value)) {
13938
+ const isBodyToken = Boolean(element.openTag && !element.openTag.selfClosingTag && element.closeTag &&
13939
+ element.openTag.endOffset <= token.startOffset && token.startOffset < element.closeTag.startOffset);
13940
+ if (isWhitespace(token.value) &&
13941
+ (!isBodyToken || element.children.length > 0 ||
13942
+ (!element.hasContent && !element.hasComments && /[\r\n]/.test(token.value)))) {
13926
13943
  return;
13927
13944
  }
13928
- if (hasTokenInSet(token.type, 'comment') || hasTokenInSet(token.type, 'meta')) {
13945
+ if ((hasTokenInSet(token.type, 'comment') || hasTokenInSet(token.type, 'meta')) &&
13946
+ (!isBodyToken || element.children.length > 0)) {
13929
13947
  this.#builder.addNewLine();
13930
13948
  this.#builder.addToken(token.value.trim(), token.startOffset);
13931
13949
  this.#builder.addNewLine();
@@ -13934,7 +13952,6 @@ class HTMLFormatter {
13934
13952
  if (!element.openTag || !element.closeTag) {
13935
13953
  return;
13936
13954
  }
13937
- const isBodyToken = element.openTag.endOffset <= token.startOffset && token.startOffset < element.closeTag.startOffset;
13938
13955
  if (isBodyToken && element.name === 'style') {
13939
13956
  this.#builder.addNewLine();
13940
13957
  this.#builder.increaseNestingLevel();
@@ -13961,7 +13978,13 @@ class HTMLFormatter {
13961
13978
  if (!isBodyToken && hasTokenInSet(token.type, 'attribute')) {
13962
13979
  this.#builder.addSoftSpace();
13963
13980
  }
13981
+ const restore = !isBodyToken && !hasTokenInSet(token.type, 'attribute') ?
13982
+ this.#builder.setEnforceSpaceBetweenWords(false) :
13983
+ false;
13964
13984
  this.#builder.addToken(token.value, token.startOffset);
13985
+ if (!isBodyToken && !hasTokenInSet(token.type, 'attribute')) {
13986
+ this.#builder.setEnforceSpaceBetweenWords(restore);
13987
+ }
13965
13988
  }
13966
13989
  }
13967
13990
  function scriptTagIsJavaScript(element) {
@@ -14047,12 +14070,20 @@ class HTMLModel {
14047
14070
  }
14048
14071
  #build(text) {
14049
14072
  const tokenizer = createTokenizer('text/html');
14050
- let baseOffset = 0, lastOffset = 0;
14073
+ let lastOffset = 0;
14051
14074
  let pendingToken = null;
14052
14075
  const pushToken = (token) => {
14053
14076
  this.#tokens.push(token);
14054
14077
  this.#updateDOM(token);
14055
14078
  const element = this.#stack[this.#stack.length - 1];
14079
+ if (element && (hasTokenInSet(token.type, 'comment') || hasTokenInSet(token.type, 'meta'))) {
14080
+ element.hasComments = true;
14081
+ }
14082
+ if (element && !isWhitespace(token.value) && !hasTokenInSet(token.type, 'tag') &&
14083
+ !hasTokenInSet(token.type, 'attribute') && !hasTokenInSet(token.type, 'bracket') &&
14084
+ !hasTokenInSet(token.type, 'comment') && !hasTokenInSet(token.type, 'meta')) {
14085
+ element.hasContent = true;
14086
+ }
14056
14087
  if (element && (element.name === 'script' || element.name === 'style') &&
14057
14088
  element.openTag?.endOffset === lastOffset) {
14058
14089
  return AbortTokenization;
@@ -14060,8 +14091,6 @@ class HTMLModel {
14060
14091
  return;
14061
14092
  };
14062
14093
  const processToken = (tokenValue, type, tokenStart, tokenEnd) => {
14063
- tokenStart += baseOffset;
14064
- tokenEnd += baseOffset;
14065
14094
  lastOffset = tokenEnd;
14066
14095
  const tokenType = type ? new Set(type.split(' ')) : new Set();
14067
14096
  const token = new Token(tokenValue, tokenType, tokenStart, tokenEnd);
@@ -14090,8 +14119,7 @@ class HTMLModel {
14090
14119
  return pushToken(token);
14091
14120
  };
14092
14121
  while (true) {
14093
- baseOffset = lastOffset;
14094
- tokenizer(text.substring(lastOffset), processToken);
14122
+ tokenizer(text, processToken, lastOffset);
14095
14123
  if (pendingToken) {
14096
14124
  pushToken(pendingToken);
14097
14125
  pendingToken = null;
@@ -14109,7 +14137,8 @@ class HTMLModel {
14109
14137
  lastOffset = text.length;
14110
14138
  break;
14111
14139
  }
14112
- if (text.substring(lastOffset + 2).toLowerCase().startsWith(element.name)) {
14140
+ const sliced = text.slice(lastOffset + 2, lastOffset + 2 + element.name.length);
14141
+ if (sliced.toLowerCase() === element.name) {
14113
14142
  break;
14114
14143
  }
14115
14144
  lastOffset += 2;
@@ -14323,6 +14352,8 @@ class FormatterElement {
14323
14352
  parent = null;
14324
14353
  openTag = null;
14325
14354
  closeTag = null;
14355
+ hasComments = false;
14356
+ hasContent = false;
14326
14357
  constructor(name) {
14327
14358
  this.name = name;
14328
14359
  }
@@ -14951,8 +14982,12 @@ function createTokenizer(mimeType) {
14951
14982
  if (!mode.token) {
14952
14983
  throw new Error(`Could not find CodeMirror mode with token method: ${mimeType}`);
14953
14984
  }
14954
- return (line, callback) => {
14985
+ return (line, callback, startOffset = 0) => {
14955
14986
  const stream = new CodeMirror.StringStream(line);
14987
+ if (startOffset) {
14988
+ stream.pos = startOffset;
14989
+ stream.start = startOffset;
14990
+ }
14956
14991
  while (!stream.eol()) {
14957
14992
  const style = mode.token(stream, state);
14958
14993
  const value = stream.current();
@@ -15024,6 +15059,7 @@ class CSSFormatter {
15024
15059
  #fromOffset;
15025
15060
  #lineEndings;
15026
15061
  #lastLine = -1;
15062
+ #currentLineIndex = 0;
15027
15063
  #state = {};
15028
15064
  constructor(builder) {
15029
15065
  this.#builder = builder;
@@ -15034,6 +15070,7 @@ class CSSFormatter {
15034
15070
  this.#toOffset = toOffset;
15035
15071
  this.#state = {};
15036
15072
  this.#lastLine = -1;
15073
+ this.#currentLineIndex = 0;
15037
15074
  const tokenize = createTokenizer('text/css');
15038
15075
  const oldEnforce = this.#builder.setEnforceSpaceBetweenWords(false);
15039
15076
  tokenize(text.substring(this.#fromOffset, this.#toOffset), this.#tokenCallback.bind(this));
@@ -15041,7 +15078,11 @@ class CSSFormatter {
15041
15078
  }
15042
15079
  #tokenCallback(token, type, startPosition) {
15043
15080
  startPosition += this.#fromOffset;
15044
- const startLine = lowerBound(this.#lineEndings, startPosition, DEFAULT_COMPARATOR);
15081
+ while (this.#currentLineIndex < this.#lineEndings.length &&
15082
+ this.#lineEndings[this.#currentLineIndex] < startPosition) {
15083
+ this.#currentLineIndex++;
15084
+ }
15085
+ const startLine = this.#currentLineIndex;
15045
15086
  if (startLine !== this.#lastLine) {
15046
15087
  this.#state.eatWhitespace = true;
15047
15088
  }