@memlab/cli 1.0.42 → 1.0.44

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 (210) hide show
  1. package/bin/memlab.js +1 -1
  2. package/bin/preinstall +1 -1
  3. package/dist/BaseCommand.d.ts +2 -2
  4. package/dist/BaseCommand.d.ts.map +1 -1
  5. package/dist/BaseCommand.js +3 -3
  6. package/dist/CommandLoader.d.ts +1 -1
  7. package/dist/CommandLoader.js +1 -1
  8. package/dist/Dispatcher.d.ts +1 -1
  9. package/dist/Dispatcher.js +7 -7
  10. package/dist/commands/CleanLoggerDataCommand.d.ts +1 -1
  11. package/dist/commands/CleanLoggerDataCommand.js +2 -2
  12. package/dist/commands/CleanRunDataCommand.d.ts +1 -1
  13. package/dist/commands/CleanRunDataCommand.js +2 -2
  14. package/dist/commands/GetVersionCommand.d.ts +1 -1
  15. package/dist/commands/GetVersionCommand.js +1 -1
  16. package/dist/commands/InitDirectoryCommand.d.ts +1 -1
  17. package/dist/commands/InitDirectoryCommand.js +2 -2
  18. package/dist/commands/ListScenariosCommand.d.ts +1 -1
  19. package/dist/commands/ListScenariosCommand.js +1 -1
  20. package/dist/commands/MemLabRunCommand.d.ts +1 -1
  21. package/dist/commands/MemLabRunCommand.js +19 -9
  22. package/dist/commands/PrintSummaryCommand.d.ts +1 -1
  23. package/dist/commands/PrintSummaryCommand.js +2 -2
  24. package/dist/commands/ResetDirectoryCommand.d.ts +1 -1
  25. package/dist/commands/ResetDirectoryCommand.js +2 -2
  26. package/dist/commands/RunMeasureCommand.d.ts +2 -2
  27. package/dist/commands/RunMeasureCommand.d.ts.map +1 -1
  28. package/dist/commands/RunMeasureCommand.js +4 -2
  29. package/dist/commands/WarmupAppCommand.d.ts +1 -1
  30. package/dist/commands/WarmupAppCommand.d.ts.map +1 -1
  31. package/dist/commands/WarmupAppCommand.js +3 -1
  32. package/dist/commands/heap/CheckLeakCommand.d.ts +2 -2
  33. package/dist/commands/heap/CheckLeakCommand.d.ts.map +1 -1
  34. package/dist/commands/heap/CheckLeakCommand.js +21 -11
  35. package/dist/commands/heap/DiffLeakCommand.d.ts +1 -1
  36. package/dist/commands/heap/DiffLeakCommand.js +17 -7
  37. package/dist/commands/heap/GetRetainerTraceCommand.d.ts +1 -1
  38. package/dist/commands/heap/GetRetainerTraceCommand.js +19 -9
  39. package/dist/commands/heap/HeapAnalysisCommand.d.ts +1 -1
  40. package/dist/commands/heap/HeapAnalysisCommand.js +19 -9
  41. package/dist/commands/heap/HeapAnalysisSubCommandWrapper.d.ts +1 -1
  42. package/dist/commands/heap/HeapAnalysisSubCommandWrapper.js +18 -8
  43. package/dist/commands/heap/interactive/InteractiveCommandLoader.d.ts +1 -1
  44. package/dist/commands/heap/interactive/InteractiveCommandLoader.js +1 -1
  45. package/dist/commands/heap/interactive/InteractiveHeapCommand.d.ts +1 -1
  46. package/dist/commands/heap/interactive/InteractiveHeapCommand.js +19 -9
  47. package/dist/commands/heap/interactive/InteractiveHeapExploreCommand.d.ts +1 -1
  48. package/dist/commands/heap/interactive/InteractiveHeapExploreCommand.js +19 -9
  49. package/dist/commands/heap/interactive/ui-components/CliScreen.js +1 -1
  50. package/dist/commands/heap/interactive/ui-components/HeapViewUtils.d.ts +1 -1
  51. package/dist/commands/heap/interactive/ui-components/HeapViewUtils.js +6 -6
  52. package/dist/commands/heap/interactive/ui-components/ListComponent.d.ts +1 -1
  53. package/dist/commands/heap/interactive/ui-components/ListComponent.js +1 -1
  54. package/dist/commands/heap/interactive/worker/LocateClosureSourceWorker.d.ts +1 -1
  55. package/dist/commands/heap/interactive/worker/LocateClosureSourceWorker.js +1 -1
  56. package/dist/commands/helper/GenerateCLIDocCommand.d.ts +1 -1
  57. package/dist/commands/helper/GenerateCLIDocCommand.js +19 -9
  58. package/dist/commands/helper/HelperCommand.d.ts +1 -1
  59. package/dist/commands/helper/HelperCommand.js +21 -11
  60. package/dist/commands/helper/lib/CommandOrder.d.ts +1 -1
  61. package/dist/commands/helper/lib/CommandOrder.js +1 -1
  62. package/dist/commands/helper/lib/DocUtils.d.ts +1 -1
  63. package/dist/commands/helper/lib/DocUtils.js +1 -1
  64. package/dist/commands/helper/lib/Types.d.ts +1 -1
  65. package/dist/commands/helper/lib/Types.js +1 -1
  66. package/dist/commands/query/QueryDefaultWorkDirCommand.d.ts +1 -1
  67. package/dist/commands/query/QueryDefaultWorkDirCommand.js +18 -8
  68. package/dist/commands/snapshot/CheckXvfbSupportCommand.d.ts +1 -1
  69. package/dist/commands/snapshot/CheckXvfbSupportCommand.js +1 -1
  70. package/dist/commands/snapshot/Snapshot.d.ts +1 -1
  71. package/dist/commands/snapshot/Snapshot.js +2 -3
  72. package/dist/commands/snapshot/TakeSnapshotCommand.d.ts +1 -1
  73. package/dist/commands/snapshot/TakeSnapshotCommand.d.ts.map +1 -1
  74. package/dist/commands/snapshot/TakeSnapshotCommand.js +3 -1
  75. package/dist/commands/snapshot/WarmupAndSnapshotCommand.d.ts +2 -2
  76. package/dist/commands/snapshot/WarmupAndSnapshotCommand.d.ts.map +1 -1
  77. package/dist/commands/snapshot/WarmupAndSnapshotCommand.js +2 -2
  78. package/dist/index.d.ts +1 -1
  79. package/dist/index.js +2 -3
  80. package/dist/lib/CLIUtils.d.ts +1 -1
  81. package/dist/lib/CLIUtils.js +5 -5
  82. package/dist/options/DebugOption.d.ts +1 -1
  83. package/dist/options/DebugOption.js +1 -1
  84. package/dist/options/HelperOption.d.ts +1 -1
  85. package/dist/options/HelperOption.js +1 -1
  86. package/dist/options/MLClusteringLinkageMaxDistanceOption.d.ts +1 -1
  87. package/dist/options/MLClusteringLinkageMaxDistanceOption.js +1 -1
  88. package/dist/options/MLClusteringMaxDFOption.d.ts +1 -1
  89. package/dist/options/MLClusteringMaxDFOption.js +1 -1
  90. package/dist/options/MLClusteringOption.d.ts +1 -1
  91. package/dist/options/MLClusteringOption.js +1 -1
  92. package/dist/options/NumberOfRunsOption.d.ts +1 -1
  93. package/dist/options/NumberOfRunsOption.js +1 -1
  94. package/dist/options/SetContinuousTestOption.d.ts +1 -1
  95. package/dist/options/SetContinuousTestOption.js +1 -1
  96. package/dist/options/SetMaxClusterSampleSizeOption.d.ts +1 -1
  97. package/dist/options/SetMaxClusterSampleSizeOption.js +1 -1
  98. package/dist/options/SetWorkingDirectoryOption.d.ts +1 -1
  99. package/dist/options/SetWorkingDirectoryOption.js +1 -1
  100. package/dist/options/SilentOption.d.ts +1 -1
  101. package/dist/options/SilentOption.js +1 -1
  102. package/dist/options/VerboseOption.d.ts +1 -1
  103. package/dist/options/VerboseOption.js +1 -1
  104. package/dist/options/constant.d.ts +1 -1
  105. package/dist/options/constant.js +1 -1
  106. package/dist/options/e2e/AppOption.d.ts +1 -1
  107. package/dist/options/e2e/AppOption.js +1 -1
  108. package/dist/options/e2e/DisableWebSecurityOption.d.ts +1 -1
  109. package/dist/options/e2e/DisableWebSecurityOption.js +1 -1
  110. package/dist/options/e2e/DisableXvfbOption.d.ts +1 -1
  111. package/dist/options/e2e/DisableXvfbOption.js +1 -1
  112. package/dist/options/e2e/DisplayLeakOutlinesOptions.d.ts +18 -0
  113. package/dist/options/e2e/DisplayLeakOutlinesOptions.d.ts.map +1 -0
  114. package/dist/options/e2e/DisplayLeakOutlinesOptions.js +42 -0
  115. package/dist/options/e2e/EnableJSInterceptOption.d.ts +1 -1
  116. package/dist/options/e2e/EnableJSInterceptOption.js +1 -1
  117. package/dist/options/e2e/EnableJSRewriteOption.d.ts +1 -1
  118. package/dist/options/e2e/EnableJSRewriteOption.js +1 -1
  119. package/dist/options/e2e/FullExecutionOption.d.ts +1 -1
  120. package/dist/options/e2e/FullExecutionOption.js +1 -1
  121. package/dist/options/e2e/HeadfulBrowserOption.d.ts +1 -1
  122. package/dist/options/e2e/HeadfulBrowserOption.js +1 -1
  123. package/dist/options/e2e/InteractionOption.d.ts +1 -1
  124. package/dist/options/e2e/InteractionOption.js +1 -1
  125. package/dist/options/e2e/RemoteBrowserDebugOption.d.ts +1 -1
  126. package/dist/options/e2e/RemoteBrowserDebugOption.js +1 -1
  127. package/dist/options/e2e/RunningModeOption.d.ts +1 -1
  128. package/dist/options/e2e/RunningModeOption.js +1 -1
  129. package/dist/options/e2e/ScenarioFileOption.d.ts +1 -1
  130. package/dist/options/e2e/ScenarioFileOption.js +1 -1
  131. package/dist/options/e2e/SetChromiumBinaryOption.d.ts +1 -1
  132. package/dist/options/e2e/SetChromiumProtocolTimeoutOption.d.ts +1 -1
  133. package/dist/options/e2e/SetDeviceOption.d.ts +1 -1
  134. package/dist/options/e2e/SetDeviceOption.js +1 -1
  135. package/dist/options/e2e/SetUserAgentOption.d.ts +1 -1
  136. package/dist/options/e2e/SetUserAgentOption.js +1 -1
  137. package/dist/options/e2e/SkipExtraOperationOption.d.ts +1 -1
  138. package/dist/options/e2e/SkipExtraOperationOption.js +1 -1
  139. package/dist/options/e2e/SkipGCOption.d.ts +1 -1
  140. package/dist/options/e2e/SkipGCOption.js +1 -1
  141. package/dist/options/e2e/SkipScreenshotOption.d.ts +1 -1
  142. package/dist/options/e2e/SkipScreenshotOption.js +1 -1
  143. package/dist/options/e2e/SkipScrollOption.d.ts +1 -1
  144. package/dist/options/e2e/SkipScrollOption.js +1 -1
  145. package/dist/options/e2e/SkipSnapshotOption.d.ts +1 -1
  146. package/dist/options/e2e/SkipSnapshotOption.js +1 -1
  147. package/dist/options/e2e/SkipWarmupOption.d.ts +1 -1
  148. package/dist/options/e2e/SkipWarmupOption.js +1 -1
  149. package/dist/options/e2e/TargetWorkerOption.d.ts +1 -1
  150. package/dist/options/e2e/TargetWorkerOption.js +1 -1
  151. package/dist/options/experiment/ExperimentOptionUtils.d.ts +1 -1
  152. package/dist/options/experiment/ExperimentOptionUtils.js +2 -3
  153. package/dist/options/experiment/SetControlSnapshotOption.d.ts +1 -1
  154. package/dist/options/experiment/SetControlSnapshotOption.js +1 -1
  155. package/dist/options/experiment/SetControlWorkDirOption.d.ts +1 -1
  156. package/dist/options/experiment/SetControlWorkDirOption.js +1 -1
  157. package/dist/options/experiment/SetTreatmentSnapshotOption.d.ts +1 -1
  158. package/dist/options/experiment/SetTreatmentSnapshotOption.js +1 -1
  159. package/dist/options/experiment/SetTreatmentWorkDirOption.d.ts +1 -1
  160. package/dist/options/experiment/SetTreatmentWorkDirOption.js +1 -1
  161. package/dist/options/experiment/utils/ExperimentOptionsUtils.d.ts +1 -1
  162. package/dist/options/experiment/utils/ExperimentOptionsUtils.js +3 -4
  163. package/dist/options/heap/BaselineFileOption.d.ts +1 -1
  164. package/dist/options/heap/BaselineFileOption.js +1 -1
  165. package/dist/options/heap/CleanupSnapshotOption.d.ts +1 -1
  166. package/dist/options/heap/CleanupSnapshotOption.js +1 -1
  167. package/dist/options/heap/FinalFileOption.d.ts +1 -1
  168. package/dist/options/heap/FinalFileOption.js +1 -1
  169. package/dist/options/heap/HeapAnalysisPluginOption.d.ts +1 -1
  170. package/dist/options/heap/HeapAnalysisPluginOption.js +1 -1
  171. package/dist/options/heap/HeapNodeIdOption.d.ts +1 -1
  172. package/dist/options/heap/HeapNodeIdOption.js +1 -1
  173. package/dist/options/heap/HeapParserDictFastStoreSizeOption.d.ts +1 -1
  174. package/dist/options/heap/HeapParserDictFastStoreSizeOption.js +1 -1
  175. package/dist/options/heap/JSEngineOption.d.ts +1 -1
  176. package/dist/options/heap/JSEngineOption.js +1 -1
  177. package/dist/options/heap/LeakClusterSizeThresholdOption.d.ts +1 -1
  178. package/dist/options/heap/LeakClusterSizeThresholdOption.js +1 -1
  179. package/dist/options/heap/LogTraceAsClusterOption.d.ts +1 -1
  180. package/dist/options/heap/LogTraceAsClusterOption.js +1 -1
  181. package/dist/options/heap/OversizeThresholdOption.d.ts +1 -1
  182. package/dist/options/heap/OversizeThresholdOption.js +1 -1
  183. package/dist/options/heap/SetTraceContainsFilterOption.d.ts +1 -1
  184. package/dist/options/heap/SetTraceContainsFilterOption.js +1 -1
  185. package/dist/options/heap/SnapshotDirectoryOption.d.ts +1 -1
  186. package/dist/options/heap/SnapshotDirectoryOption.js +1 -1
  187. package/dist/options/heap/SnapshotFileOption.d.ts +1 -1
  188. package/dist/options/heap/SnapshotFileOption.js +1 -1
  189. package/dist/options/heap/TargetFileOption.d.ts +1 -1
  190. package/dist/options/heap/TargetFileOption.js +1 -1
  191. package/dist/options/heap/TraceAllObjectsOption.d.ts +1 -1
  192. package/dist/options/heap/TraceAllObjectsOption.js +1 -1
  193. package/dist/options/heap/leak-filter/LeakFilterFileOption.d.ts +1 -1
  194. package/dist/options/heap/leak-filter/LeakFilterFileOption.js +1 -1
  195. package/dist/options/heap/leak-filter/examples/FilterLib.d.ts +1 -1
  196. package/dist/options/heap/leak-filter/examples/FilterLib.js +2 -3
  197. package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-1.d.ts +1 -1
  198. package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-1.js +3 -4
  199. package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-2.d.ts +1 -1
  200. package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-2.d.ts.map +1 -1
  201. package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-2.js +1 -1
  202. package/dist/options/heap/leak-filter/examples/large-object-as-leak.example.js +1 -1
  203. package/dist/options/lib/OptionConstant.d.ts +3 -1
  204. package/dist/options/lib/OptionConstant.d.ts.map +1 -1
  205. package/dist/options/lib/OptionConstant.js +2 -1
  206. package/dist/options/lib/UniversalOptions.d.ts +1 -1
  207. package/dist/options/lib/UniversalOptions.js +1 -1
  208. package/dist/runner.d.ts +1 -1
  209. package/dist/runner.js +2 -3
  210. package/package.json +7 -7
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import { BaseOption, MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import type { MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import type { MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import type { MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import type { MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import { BaseOption, MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import { BaseOption, MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import { BaseOption, MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import { MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import type { ParsedArgs } from 'minimist';
11
11
  import type { MemLabConfig } from '@memlab/core';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import { IHeapSnapshot } from '@memlab/core';
11
11
  export declare function initMap(snapshot: IHeapSnapshot): Record<string, number>;
@@ -6,10 +6,10 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.initMap = void 0;
12
+ exports.initMap = initMap;
13
13
  const core_1 = require("@memlab/core");
14
14
  function initMap(snapshot) {
15
15
  const map = Object.create(null);
@@ -27,4 +27,3 @@ function initMap(snapshot) {
27
27
  });
28
28
  return map;
29
29
  }
30
- exports.initMap = initMap;
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import { IHeapNode, IHeapSnapshot, HeapNodeIdSet } from '@memlab/core';
11
11
  export declare function beforeLeakFilter(snapshot: IHeapSnapshot, _leakedNodeIds: HeapNodeIdSet): void;
@@ -6,10 +6,11 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.leakFilter = exports.beforeLeakFilter = void 0;
12
+ exports.beforeLeakFilter = beforeLeakFilter;
13
+ exports.leakFilter = leakFilter;
13
14
  const core_1 = require("@memlab/core");
14
15
  const FilterLib_1 = require("./FilterLib");
15
16
  let map = Object.create(null);
@@ -18,7 +19,6 @@ function beforeLeakFilter(snapshot,
18
19
  _leakedNodeIds) {
19
20
  map = (0, FilterLib_1.initMap)(snapshot);
20
21
  }
21
- exports.beforeLeakFilter = beforeLeakFilter;
22
22
  // duplicated string with size > 1KB as memory leak
23
23
  function leakFilter(node) {
24
24
  if (node.type !== 'string' || node.retainedSize < 1000) {
@@ -27,4 +27,3 @@ function leakFilter(node) {
27
27
  const str = core_1.utils.getStringNodeValue(node);
28
28
  return map[str] > 1;
29
29
  }
30
- exports.leakFilter = leakFilter;
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import { IHeapNode, IHeapSnapshot, HeapNodeIdSet } from '@memlab/core';
11
11
  declare const _default: {
@@ -1 +1 @@
1
- {"version":3,"file":"dup-string-as-leak.example-2.d.ts","sourceRoot":"","sources":["../../../../../src/options/heap/leak-filter/examples/dup-string-as-leak.example-2.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAC,SAAS,EAAE,aAAa,EAAE,aAAa,EAAQ,MAAM,cAAc,CAAC;;;;;AAsB5E,wBAA8C"}
1
+ {"version":3,"file":"dup-string-as-leak.example-2.d.ts","sourceRoot":"","sources":["../../../../../src/options/heap/leak-filter/examples/dup-string-as-leak.example-2.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAC,SAAS,EAAE,aAAa,EAAE,aAAa,EAAQ,MAAM,cAAc,CAAC;;iCAMhE,aAAa,kBAEP,aAAa,KAC5B,IAAI;uBAKmB,SAAS,KAAG,OAAO;;AAQ7C,wBAA8C"}
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const core_1 = require("@memlab/core");
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  module.exports = function leakFilter(node, _snapshot, _leakedNodeIds) {
12
12
  return node.retainedSize > 1000000;
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  declare const optionConstants: {
11
11
  optionNames: {
@@ -20,6 +20,7 @@ declare const optionConstants: {
20
20
  DEVICE: string;
21
21
  DISABLE_WEB_SECURITY: string;
22
22
  DISABLE_XVFB: string;
23
+ DISPLAY_LEAK_OUTLINES: string;
23
24
  ENGINE: string;
24
25
  FINAL: string;
25
26
  FULL: string;
@@ -85,6 +86,7 @@ declare const _default: {
85
86
  DEVICE: string;
86
87
  DISABLE_WEB_SECURITY: string;
87
88
  DISABLE_XVFB: string;
89
+ DISPLAY_LEAK_OUTLINES: string;
88
90
  ENGINE: string;
89
91
  FINAL: string;
90
92
  FULL: string;
@@ -1 +1 @@
1
- {"version":3,"file":"OptionConstant.d.ts","sourceRoot":"","sources":["../../../src/options/lib/OptionConstant.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAoEH,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACrD,wBAIE"}
1
+ {"version":3,"file":"OptionConstant.d.ts","sourceRoot":"","sources":["../../../src/options/lib/OptionConstant.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAqEH,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAC;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACrD,wBAIE"}
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const core_1 = require("@memlab/core");
@@ -22,6 +22,7 @@ const optionNames = {
22
22
  DEVICE: 'device',
23
23
  DISABLE_WEB_SECURITY: 'disable-web-security',
24
24
  DISABLE_XVFB: 'disable-xvfb',
25
+ DISPLAY_LEAK_OUTLINES: 'display-leak-outlines',
25
26
  ENGINE: 'engine',
26
27
  FINAL: 'final',
27
28
  FULL: 'full',
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  import DebugOption from '../DebugOption';
11
11
  import HelperOption from '../HelperOption';
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __importDefault = (this && this.__importDefault) || function (mod) {
12
12
  return (mod && mod.__esModule) ? mod : { "default": mod };
package/dist/runner.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @format
8
- * @oncall web_perf_infra
8
+ * @oncall memory_lab
9
9
  */
10
10
  export declare function run(): Promise<void>;
11
11
  //# sourceMappingURL=runner.d.ts.map
package/dist/runner.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  * @format
9
- * @oncall web_perf_infra
9
+ * @oncall memory_lab
10
10
  */
11
11
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
12
12
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -21,7 +21,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
21
21
  return (mod && mod.__esModule) ? mod : { "default": mod };
22
22
  };
23
23
  Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.run = void 0;
24
+ exports.run = run;
25
25
  const minimist_1 = __importDefault(require("minimist"));
26
26
  const core_1 = require("@memlab/core");
27
27
  const Dispatcher_1 = __importDefault(require("./Dispatcher"));
@@ -31,7 +31,6 @@ function run() {
31
31
  Dispatcher_1.default.dispatch(argv);
32
32
  });
33
33
  }
34
- exports.run = run;
35
34
  if (require.main === module) {
36
35
  // called from command line
37
36
  core_1.utils.callAsync(run);
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@memlab/cli",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "license": "MIT",
5
5
  "description": "command line interface for memlab",
6
- "author": "Liang Gong <lgong@fb.com>",
6
+ "author": "Liang Gong <lgong@meta.com>",
7
7
  "contributors": [],
8
8
  "keywords": [
9
9
  "cli",
@@ -26,10 +26,10 @@
26
26
  "access": "public"
27
27
  },
28
28
  "dependencies": {
29
- "@memlab/api": "^1.0.39",
30
- "@memlab/core": "^1.1.40",
31
- "@memlab/e2e": "^1.0.40",
32
- "@memlab/heap-analysis": "^1.0.37",
29
+ "@memlab/api": "^1.0.41",
30
+ "@memlab/core": "^1.1.42",
31
+ "@memlab/e2e": "^1.0.42",
32
+ "@memlab/heap-analysis": "^1.0.39",
33
33
  "ansi": "^0.3.1",
34
34
  "babar": "^0.2.0",
35
35
  "blessed": "^0.1.81",
@@ -50,7 +50,7 @@
50
50
  "@types/node": "^12.16.3",
51
51
  "jest": "^29.6.2",
52
52
  "ts-jest": "^29.1.1",
53
- "typescript": "^4.6.3"
53
+ "typescript": "^5.7.2"
54
54
  },
55
55
  "repository": {
56
56
  "type": "git",