@memlab/cli 1.0.41 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/memlab.js +1 -1
- package/bin/preinstall +1 -1
- package/dist/BaseCommand.d.ts +1 -1
- package/dist/BaseCommand.js +2 -2
- package/dist/CommandLoader.d.ts +1 -1
- package/dist/CommandLoader.js +1 -1
- package/dist/Dispatcher.d.ts +1 -1
- package/dist/Dispatcher.js +7 -7
- package/dist/commands/CleanLoggerDataCommand.d.ts +1 -1
- package/dist/commands/CleanLoggerDataCommand.js +2 -2
- package/dist/commands/CleanRunDataCommand.d.ts +1 -1
- package/dist/commands/CleanRunDataCommand.js +2 -2
- package/dist/commands/GetVersionCommand.d.ts +1 -1
- package/dist/commands/GetVersionCommand.js +1 -1
- package/dist/commands/InitDirectoryCommand.d.ts +1 -1
- package/dist/commands/InitDirectoryCommand.js +2 -2
- package/dist/commands/ListScenariosCommand.d.ts +1 -1
- package/dist/commands/ListScenariosCommand.js +1 -1
- package/dist/commands/MemLabRunCommand.d.ts +1 -1
- package/dist/commands/MemLabRunCommand.js +19 -9
- package/dist/commands/PrintSummaryCommand.d.ts +1 -1
- package/dist/commands/PrintSummaryCommand.js +2 -2
- package/dist/commands/ResetDirectoryCommand.d.ts +1 -1
- package/dist/commands/ResetDirectoryCommand.js +2 -2
- package/dist/commands/RunMeasureCommand.d.ts +1 -1
- package/dist/commands/RunMeasureCommand.d.ts.map +1 -1
- package/dist/commands/RunMeasureCommand.js +3 -1
- package/dist/commands/WarmupAppCommand.d.ts +1 -1
- package/dist/commands/WarmupAppCommand.d.ts.map +1 -1
- package/dist/commands/WarmupAppCommand.js +3 -1
- package/dist/commands/heap/CheckLeakCommand.d.ts +1 -1
- package/dist/commands/heap/CheckLeakCommand.js +18 -8
- package/dist/commands/heap/DiffLeakCommand.d.ts +1 -1
- package/dist/commands/heap/DiffLeakCommand.js +17 -7
- package/dist/commands/heap/GetRetainerTraceCommand.d.ts +1 -1
- package/dist/commands/heap/GetRetainerTraceCommand.js +19 -9
- package/dist/commands/heap/HeapAnalysisCommand.d.ts +1 -1
- package/dist/commands/heap/HeapAnalysisCommand.js +19 -9
- package/dist/commands/heap/HeapAnalysisSubCommandWrapper.d.ts +1 -1
- package/dist/commands/heap/HeapAnalysisSubCommandWrapper.js +18 -8
- package/dist/commands/heap/interactive/InteractiveCommandLoader.d.ts +1 -1
- package/dist/commands/heap/interactive/InteractiveCommandLoader.js +1 -1
- package/dist/commands/heap/interactive/InteractiveHeapCommand.d.ts +1 -1
- package/dist/commands/heap/interactive/InteractiveHeapCommand.js +19 -9
- package/dist/commands/heap/interactive/InteractiveHeapExploreCommand.d.ts +1 -1
- package/dist/commands/heap/interactive/InteractiveHeapExploreCommand.js +19 -9
- package/dist/commands/heap/interactive/ui-components/CliScreen.js +1 -1
- package/dist/commands/heap/interactive/ui-components/HeapViewUtils.d.ts +1 -1
- package/dist/commands/heap/interactive/ui-components/HeapViewUtils.js +5 -5
- package/dist/commands/heap/interactive/ui-components/ListComponent.d.ts +1 -1
- package/dist/commands/heap/interactive/ui-components/ListComponent.js +1 -1
- package/dist/commands/heap/interactive/worker/LocateClosureSourceWorker.d.ts +1 -1
- package/dist/commands/heap/interactive/worker/LocateClosureSourceWorker.js +1 -1
- package/dist/commands/helper/GenerateCLIDocCommand.d.ts +1 -1
- package/dist/commands/helper/GenerateCLIDocCommand.js +18 -8
- package/dist/commands/helper/HelperCommand.d.ts +1 -1
- package/dist/commands/helper/HelperCommand.js +20 -10
- package/dist/commands/helper/lib/CommandOrder.d.ts +1 -1
- package/dist/commands/helper/lib/CommandOrder.js +1 -1
- package/dist/commands/helper/lib/DocUtils.d.ts +1 -1
- package/dist/commands/helper/lib/DocUtils.js +1 -1
- package/dist/commands/helper/lib/Types.d.ts +1 -1
- package/dist/commands/helper/lib/Types.js +1 -1
- package/dist/commands/query/QueryDefaultWorkDirCommand.d.ts +1 -1
- package/dist/commands/query/QueryDefaultWorkDirCommand.js +18 -8
- package/dist/commands/snapshot/CheckXvfbSupportCommand.d.ts +1 -1
- package/dist/commands/snapshot/CheckXvfbSupportCommand.js +1 -1
- package/dist/commands/snapshot/Snapshot.d.ts +1 -1
- package/dist/commands/snapshot/Snapshot.js +2 -3
- package/dist/commands/snapshot/TakeSnapshotCommand.d.ts +1 -1
- package/dist/commands/snapshot/TakeSnapshotCommand.d.ts.map +1 -1
- package/dist/commands/snapshot/TakeSnapshotCommand.js +3 -1
- package/dist/commands/snapshot/WarmupAndSnapshotCommand.d.ts +1 -1
- package/dist/commands/snapshot/WarmupAndSnapshotCommand.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -3
- package/dist/lib/CLIUtils.d.ts +1 -1
- package/dist/lib/CLIUtils.js +5 -5
- package/dist/options/DebugOption.d.ts +1 -1
- package/dist/options/DebugOption.js +1 -1
- package/dist/options/HelperOption.d.ts +1 -1
- package/dist/options/HelperOption.js +1 -1
- package/dist/options/MLClusteringLinkageMaxDistanceOption.d.ts +1 -1
- package/dist/options/MLClusteringLinkageMaxDistanceOption.js +1 -1
- package/dist/options/MLClusteringMaxDFOption.d.ts +1 -1
- package/dist/options/MLClusteringMaxDFOption.js +1 -1
- package/dist/options/MLClusteringOption.d.ts +1 -1
- package/dist/options/MLClusteringOption.js +1 -1
- package/dist/options/NumberOfRunsOption.d.ts +1 -1
- package/dist/options/NumberOfRunsOption.js +1 -1
- package/dist/options/SetContinuousTestOption.d.ts +1 -1
- package/dist/options/SetContinuousTestOption.js +1 -1
- package/dist/options/SetMaxClusterSampleSizeOption.d.ts +1 -1
- package/dist/options/SetMaxClusterSampleSizeOption.js +1 -1
- package/dist/options/SetWorkingDirectoryOption.d.ts +1 -1
- package/dist/options/SetWorkingDirectoryOption.js +1 -1
- package/dist/options/SilentOption.d.ts +1 -1
- package/dist/options/SilentOption.js +1 -1
- package/dist/options/VerboseOption.d.ts +1 -1
- package/dist/options/VerboseOption.js +1 -1
- package/dist/options/constant.d.ts +1 -1
- package/dist/options/constant.js +1 -1
- package/dist/options/e2e/AppOption.d.ts +1 -1
- package/dist/options/e2e/AppOption.js +1 -1
- package/dist/options/e2e/DisableWebSecurityOption.d.ts +1 -1
- package/dist/options/e2e/DisableWebSecurityOption.js +1 -1
- package/dist/options/e2e/DisableXvfbOption.d.ts +1 -1
- package/dist/options/e2e/DisableXvfbOption.js +1 -1
- package/dist/options/e2e/DisplayLeakOutlinesOptions.d.ts +18 -0
- package/dist/options/e2e/DisplayLeakOutlinesOptions.d.ts.map +1 -0
- package/dist/options/e2e/DisplayLeakOutlinesOptions.js +42 -0
- package/dist/options/e2e/EnableJSInterceptOption.d.ts +1 -1
- package/dist/options/e2e/EnableJSInterceptOption.js +1 -1
- package/dist/options/e2e/EnableJSRewriteOption.d.ts +1 -1
- package/dist/options/e2e/EnableJSRewriteOption.js +1 -1
- package/dist/options/e2e/FullExecutionOption.d.ts +1 -1
- package/dist/options/e2e/FullExecutionOption.js +1 -1
- package/dist/options/e2e/HeadfulBrowserOption.d.ts +1 -1
- package/dist/options/e2e/HeadfulBrowserOption.js +1 -1
- package/dist/options/e2e/InteractionOption.d.ts +1 -1
- package/dist/options/e2e/InteractionOption.js +1 -1
- package/dist/options/e2e/RemoteBrowserDebugOption.d.ts +1 -1
- package/dist/options/e2e/RemoteBrowserDebugOption.js +1 -1
- package/dist/options/e2e/RunningModeOption.d.ts +1 -1
- package/dist/options/e2e/RunningModeOption.js +1 -1
- package/dist/options/e2e/ScenarioFileOption.d.ts +1 -1
- package/dist/options/e2e/ScenarioFileOption.js +1 -1
- package/dist/options/e2e/SetChromiumBinaryOption.d.ts +1 -1
- package/dist/options/e2e/SetChromiumProtocolTimeoutOption.d.ts +1 -1
- package/dist/options/e2e/SetDeviceOption.d.ts +1 -1
- package/dist/options/e2e/SetDeviceOption.js +1 -1
- package/dist/options/e2e/SetUserAgentOption.d.ts +1 -1
- package/dist/options/e2e/SetUserAgentOption.js +1 -1
- package/dist/options/e2e/SkipExtraOperationOption.d.ts +1 -1
- package/dist/options/e2e/SkipExtraOperationOption.js +1 -1
- package/dist/options/e2e/SkipGCOption.d.ts +1 -1
- package/dist/options/e2e/SkipGCOption.js +1 -1
- package/dist/options/e2e/SkipScreenshotOption.d.ts +1 -1
- package/dist/options/e2e/SkipScreenshotOption.js +1 -1
- package/dist/options/e2e/SkipScrollOption.d.ts +1 -1
- package/dist/options/e2e/SkipScrollOption.js +1 -1
- package/dist/options/e2e/SkipSnapshotOption.d.ts +1 -1
- package/dist/options/e2e/SkipSnapshotOption.js +1 -1
- package/dist/options/e2e/SkipWarmupOption.d.ts +1 -1
- package/dist/options/e2e/SkipWarmupOption.js +1 -1
- package/dist/options/e2e/TargetWorkerOption.d.ts +1 -1
- package/dist/options/e2e/TargetWorkerOption.js +1 -1
- package/dist/options/experiment/ExperimentOptionUtils.d.ts +1 -1
- package/dist/options/experiment/ExperimentOptionUtils.js +2 -3
- package/dist/options/experiment/SetControlSnapshotOption.d.ts +1 -1
- package/dist/options/experiment/SetControlSnapshotOption.js +1 -1
- package/dist/options/experiment/SetControlWorkDirOption.d.ts +1 -1
- package/dist/options/experiment/SetControlWorkDirOption.js +1 -1
- package/dist/options/experiment/SetTreatmentSnapshotOption.d.ts +1 -1
- package/dist/options/experiment/SetTreatmentSnapshotOption.js +1 -1
- package/dist/options/experiment/SetTreatmentWorkDirOption.d.ts +1 -1
- package/dist/options/experiment/SetTreatmentWorkDirOption.js +1 -1
- package/dist/options/experiment/utils/ExperimentOptionsUtils.d.ts +1 -1
- package/dist/options/experiment/utils/ExperimentOptionsUtils.js +3 -4
- package/dist/options/heap/BaselineFileOption.d.ts +1 -1
- package/dist/options/heap/BaselineFileOption.js +1 -1
- package/dist/options/heap/CleanupSnapshotOption.d.ts +1 -1
- package/dist/options/heap/CleanupSnapshotOption.js +1 -1
- package/dist/options/heap/FinalFileOption.d.ts +1 -1
- package/dist/options/heap/FinalFileOption.js +1 -1
- package/dist/options/heap/HeapAnalysisPluginOption.d.ts +1 -1
- package/dist/options/heap/HeapAnalysisPluginOption.js +1 -1
- package/dist/options/heap/HeapNodeIdOption.d.ts +1 -1
- package/dist/options/heap/HeapNodeIdOption.js +1 -1
- package/dist/options/heap/HeapParserDictFastStoreSizeOption.d.ts +1 -1
- package/dist/options/heap/HeapParserDictFastStoreSizeOption.js +1 -1
- package/dist/options/heap/JSEngineOption.d.ts +1 -1
- package/dist/options/heap/JSEngineOption.js +1 -1
- package/dist/options/heap/LeakClusterSizeThresholdOption.d.ts +1 -1
- package/dist/options/heap/LeakClusterSizeThresholdOption.js +1 -1
- package/dist/options/heap/LogTraceAsClusterOption.d.ts +1 -1
- package/dist/options/heap/LogTraceAsClusterOption.js +1 -1
- package/dist/options/heap/OversizeThresholdOption.d.ts +1 -1
- package/dist/options/heap/OversizeThresholdOption.js +1 -1
- package/dist/options/heap/SetTraceContainsFilterOption.d.ts +1 -1
- package/dist/options/heap/SetTraceContainsFilterOption.js +1 -1
- package/dist/options/heap/SnapshotDirectoryOption.d.ts +1 -1
- package/dist/options/heap/SnapshotDirectoryOption.js +1 -1
- package/dist/options/heap/SnapshotFileOption.d.ts +1 -1
- package/dist/options/heap/SnapshotFileOption.js +1 -1
- package/dist/options/heap/TargetFileOption.d.ts +1 -1
- package/dist/options/heap/TargetFileOption.js +1 -1
- package/dist/options/heap/TraceAllObjectsOption.d.ts +1 -1
- package/dist/options/heap/TraceAllObjectsOption.js +1 -1
- package/dist/options/heap/leak-filter/LeakFilterFileOption.d.ts +1 -1
- package/dist/options/heap/leak-filter/LeakFilterFileOption.js +1 -1
- package/dist/options/heap/leak-filter/examples/FilterLib.d.ts +1 -1
- package/dist/options/heap/leak-filter/examples/FilterLib.js +2 -3
- package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-1.d.ts +1 -1
- package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-1.js +3 -4
- package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-2.d.ts +1 -1
- package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-2.d.ts.map +1 -1
- package/dist/options/heap/leak-filter/examples/dup-string-as-leak.example-2.js +1 -1
- package/dist/options/heap/leak-filter/examples/large-object-as-leak.example.js +1 -1
- package/dist/options/lib/OptionConstant.d.ts +3 -1
- package/dist/options/lib/OptionConstant.d.ts.map +1 -1
- package/dist/options/lib/OptionConstant.js +2 -1
- package/dist/options/lib/UniversalOptions.d.ts +1 -1
- package/dist/options/lib/UniversalOptions.js +1 -1
- package/dist/runner.d.ts +1 -1
- package/dist/runner.js +2 -3
- 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
|
|
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); }); }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*
|
|
8
8
|
* @format
|
|
9
|
-
* @oncall
|
|
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); }); }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*
|
|
8
8
|
* @format
|
|
9
|
-
* @oncall
|
|
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); }); }
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*
|
|
8
8
|
* @format
|
|
9
|
-
* @oncall
|
|
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); }); }
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*
|
|
8
8
|
* @format
|
|
9
|
-
* @oncall
|
|
9
|
+
* @oncall memory_lab
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.initMap =
|
|
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
|
|
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
|
|
9
|
+
* @oncall memory_lab
|
|
10
10
|
*/
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
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;
|
|
@@ -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
|
|
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"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*
|
|
7
7
|
* @format
|
|
8
|
-
* @oncall
|
|
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;
|
|
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
|
|
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',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*
|
|
8
8
|
* @format
|
|
9
|
-
* @oncall
|
|
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
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
|
|
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 =
|
|
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.
|
|
3
|
+
"version": "1.0.43",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "command line interface for memlab",
|
|
6
|
-
"author": "Liang Gong <lgong@
|
|
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.
|
|
30
|
-
"@memlab/core": "^1.1.
|
|
31
|
-
"@memlab/e2e": "^1.0.
|
|
32
|
-
"@memlab/heap-analysis": "^1.0.
|
|
29
|
+
"@memlab/api": "^1.0.40",
|
|
30
|
+
"@memlab/core": "^1.1.41",
|
|
31
|
+
"@memlab/e2e": "^1.0.41",
|
|
32
|
+
"@memlab/heap-analysis": "^1.0.38",
|
|
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": "^
|
|
53
|
+
"typescript": "^5.7.2"
|
|
54
54
|
},
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|