@paulirish/trace_engine 0.0.67-beta.0 → 0.0.67-beta.2

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 (147) hide show
  1. package/README.md +60 -22
  2. package/core/common/ParsedURL.d.ts +8 -0
  3. package/core/common/Settings.d.ts +2 -0
  4. package/core/host/Platform.d.ts +5 -0
  5. package/core/host/UserMetricsEnums.d.ts +8 -3
  6. package/core/platform/StringUtilities.d.ts +21 -0
  7. package/core/root/ExperimentNames.d.ts +2 -1
  8. package/core/root/Runtime.d.ts +4 -2
  9. package/core/sdk/CSSModel.d.ts +5 -0
  10. package/core/sdk/CSSPropertyParser.d.ts +0 -5
  11. package/core/sdk/DOMModel.d.ts +8 -4
  12. package/core/sdk/DebuggerModel.d.ts +37 -4
  13. package/core/sdk/NetworkRequest.d.ts +30 -2
  14. package/core/sdk/ResourceTreeModel.d.ts +3 -1
  15. package/core/sdk/RuntimeModel.d.ts +1 -0
  16. package/core/sdk/SDKSettings.d.ts +1 -0
  17. package/core/sdk/SourceMap.d.ts +20 -6
  18. package/core/sdk/SourceMapFunctionRanges.d.ts +3 -6
  19. package/core/sdk/SourceMapScopesInfo.d.ts +98 -23
  20. package/core/text_utils/Markdown.d.ts +13 -0
  21. package/core/text_utils/text_utils.d.ts +2 -1
  22. package/entrypoints/formatter_actions/formatter_actions.d.ts +17 -0
  23. package/generated/protocol-mapping.d.ts +64 -9
  24. package/generated/protocol-proxy-api.d.ts +58 -7
  25. package/generated/protocol.d.ts +93 -30
  26. package/index.d.ts +2 -0
  27. package/locales/af.json +129 -126
  28. package/locales/am.json +128 -125
  29. package/locales/ar.json +130 -127
  30. package/locales/as.json +130 -127
  31. package/locales/az.json +130 -127
  32. package/locales/be.json +128 -125
  33. package/locales/bg.json +130 -127
  34. package/locales/bn.json +130 -127
  35. package/locales/bs.json +130 -127
  36. package/locales/ca.json +130 -127
  37. package/locales/cs.json +128 -125
  38. package/locales/cy.json +130 -127
  39. package/locales/da.json +129 -126
  40. package/locales/de.json +130 -127
  41. package/locales/el.json +130 -127
  42. package/locales/en-GB.json +130 -127
  43. package/locales/en-US.json +1058 -0
  44. package/locales/es-419.json +129 -126
  45. package/locales/es.json +130 -127
  46. package/locales/et.json +95 -92
  47. package/locales/eu.json +130 -127
  48. package/locales/fa.json +130 -127
  49. package/locales/fi.json +129 -126
  50. package/locales/fil.json +130 -127
  51. package/locales/fr-CA.json +130 -127
  52. package/locales/fr.json +130 -127
  53. package/locales/gl.json +130 -127
  54. package/locales/gu.json +130 -127
  55. package/locales/he.json +130 -127
  56. package/locales/hi.json +130 -127
  57. package/locales/hr.json +128 -125
  58. package/locales/hu.json +90 -87
  59. package/locales/hy.json +127 -124
  60. package/locales/id.json +130 -127
  61. package/locales/is.json +129 -126
  62. package/locales/it.json +130 -127
  63. package/locales/ja.json +130 -127
  64. package/locales/ka.json +129 -126
  65. package/locales/kk.json +38 -35
  66. package/locales/km.json +130 -127
  67. package/locales/kn.json +130 -127
  68. package/locales/ko.json +22 -19
  69. package/locales/ky.json +130 -127
  70. package/locales/lo.json +130 -127
  71. package/locales/lt.json +130 -127
  72. package/locales/lv.json +66 -63
  73. package/locales/mk.json +130 -127
  74. package/locales/ml.json +129 -126
  75. package/locales/mn.json +129 -126
  76. package/locales/mr.json +130 -127
  77. package/locales/ms.json +130 -127
  78. package/locales/my.json +130 -127
  79. package/locales/ne.json +128 -125
  80. package/locales/nl.json +129 -126
  81. package/locales/no.json +130 -127
  82. package/locales/or.json +130 -127
  83. package/locales/pa.json +130 -127
  84. package/locales/pl.json +130 -127
  85. package/locales/pt-PT.json +129 -126
  86. package/locales/pt.json +130 -127
  87. package/locales/ro.json +129 -126
  88. package/locales/ru.json +50 -47
  89. package/locales/si.json +130 -127
  90. package/locales/sk.json +130 -127
  91. package/locales/sl.json +130 -127
  92. package/locales/sq.json +129 -126
  93. package/locales/sr-Latn.json +130 -127
  94. package/locales/sr.json +130 -127
  95. package/locales/sv.json +130 -127
  96. package/locales/sw.json +130 -127
  97. package/locales/ta.json +129 -126
  98. package/locales/te.json +130 -127
  99. package/locales/th.json +92 -89
  100. package/locales/tr.json +129 -126
  101. package/locales/uk.json +128 -125
  102. package/locales/ur.json +130 -127
  103. package/locales/uz.json +126 -123
  104. package/locales/vi.json +130 -127
  105. package/locales/zh-HK.json +130 -127
  106. package/locales/zh-TW.json +130 -127
  107. package/locales/zh.json +130 -127
  108. package/locales/zu.json +129 -126
  109. package/models/emulation/DeviceModeModel.d.ts +1 -0
  110. package/models/formatter/FormatterWorkerPool.d.ts +2 -2
  111. package/models/formatter/ScriptFormatter.d.ts +2 -2
  112. package/models/trace/extras/StackTraceForEvent.d.ts +1 -1
  113. package/models/trace/handlers/AnimationFramesHandler.d.ts +1 -1
  114. package/models/trace/handlers/AsyncJSCallsHandler.d.ts +2 -2
  115. package/models/trace/handlers/ImagePaintingHandler.d.ts +2 -2
  116. package/models/trace/handlers/InitiatorsHandler.d.ts +2 -2
  117. package/models/trace/handlers/LayerTreeHandler.d.ts +1 -1
  118. package/models/trace/handlers/NetworkRequestsHandler.d.ts +1 -1
  119. package/models/trace/handlers/PageLoadMetricsHandler.d.ts +1 -1
  120. package/models/trace/handlers/ScriptsHandler.d.ts +1 -1
  121. package/models/trace/handlers/WarningsHandler.d.ts +1 -1
  122. package/models/trace/helpers/SamplesIntegrator.d.ts +3 -1
  123. package/models/trace/helpers/Trace.d.ts +2 -0
  124. package/models/trace/insights/CLSCulprits.d.ts +1 -1
  125. package/models/trace/insights/DuplicatedJavaScript.d.ts +1 -1
  126. package/models/trace/insights/ImageDelivery.d.ts +1 -0
  127. package/models/trace/lantern/core/NetworkAnalyzer.d.ts +1 -0
  128. package/models/trace/lantern/graph/CPUNode.d.ts +4 -2
  129. package/models/trace/lantern/simulation/TCPConnection.d.ts +4 -4
  130. package/models/trace/lantern/types/Lantern.d.ts +15 -0
  131. package/models/trace/trace.js +21 -4
  132. package/models/trace/types/Overlays.d.ts +4 -3
  133. package/models/trace/types/TraceEvents.d.ts +184 -124
  134. package/package.json +14 -4
  135. package/third_party/marked/marked.d.ts +2 -0
  136. package/third_party/marked/package/lib/marked.esm.d.ts +760 -0
  137. package/third_party/source-map-scopes-codec/package/src/builder/builder.d.ts +4 -1
  138. package/third_party/source-map-scopes-codec/package/src/builder/safe_builder.d.ts +3 -1
  139. package/third_party/source-map-scopes-codec/package/src/codec.d.ts +6 -5
  140. package/third_party/source-map-scopes-codec/package/src/decode/decode.d.ts +2 -0
  141. package/third_party/source-map-scopes-codec/package/src/encode/encoder.d.ts +4 -1
  142. package/third_party/source-map-scopes-codec/package/src/scopes.d.ts +4 -3
  143. package/third_party/source-map-scopes-codec/package/src/vlq.d.ts +1 -1
  144. package/models/trace/lantern/lantern.js +0 -8
  145. package/models/trace/types/Timing.js +0 -8
  146. package/models/trace/types/TraceEvents.js +0 -189
  147. package/models/trace/types/types.js +0 -8
package/package.json CHANGED
@@ -1,12 +1,18 @@
1
1
  {
2
2
  "name": "@paulirish/trace_engine",
3
- "version": "0.0.67-beta.0",
3
+ "version": "0.0.67-beta.2",
4
4
  "description": "Typed wrapper around DevTools TraceEngine powered by chrome-devtools-mcp",
5
5
  "main": "index.js",
6
- "types": "models/trace/trace.d.ts",
6
+ "types": "index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/paulirish/trace_engine.git"
10
+ },
11
+ "homepage": "https://github.com/paulirish/trace_engine#readme",
12
+ "bugs": "https://github.com/paulirish/trace_engine/issues",
7
13
  "exports": {
8
14
  ".": {
9
- "types": "./models/trace/trace.d.ts",
15
+ "types": "./index.d.ts",
10
16
  "default": "./index.js"
11
17
  },
12
18
  "./analyze-trace": "./analyze-trace.mjs",
@@ -14,6 +20,7 @@
14
20
  },
15
21
  "files": [
16
22
  "index.js",
23
+ "index.d.ts",
17
24
  "core",
18
25
  "entrypoints",
19
26
  "generated",
@@ -34,8 +41,11 @@
34
41
  "keywords": [],
35
42
  "author": "",
36
43
  "license": "BSD-3-Clause",
44
+ "publishConfig": {
45
+ "access": "public"
46
+ },
37
47
  "dependencies": {
38
- "chrome-devtools-mcp": "1.10.1"
48
+ "chrome-devtools-mcp": "1.11.0"
39
49
  },
40
50
  "devDependencies": {
41
51
  "@types/node": "latest",
@@ -0,0 +1,2 @@
1
+ import * as Marked from './package/lib/marked.esm.js';
2
+ export { Marked };