You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@alwaysmeticulous/cli

Package Overview
Dependencies
Maintainers
3
Versions
335
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwaysmeticulous/cli - npm Package Compare versions

Comparing version

to
1.7.1

6

dist/api/replay.api.js

@@ -86,4 +86,3 @@ "use strict";

const projectName = encodeURIComponent(replay.project.name);
// TODO(replay-rename): Change path from /replays/ to new /simulations/ one.
const replayUrl = `https://app.meticulous.ai/projects/${organizationName}/${projectName}/replays/${replay.id}`;
const replayUrl = `https://app.meticulous.ai/projects/${organizationName}/${projectName}/simulations/${replay.id}`;
return replayUrl;

@@ -96,6 +95,5 @@ };

const projectName = encodeURIComponent(project.name);
// TODO(replay-rename): Change path from /replays/ to new /simulations/ one.
const diffUrl = `https://app.meticulous.ai/projects/${organizationName}/${projectName}/replays/${headReplayId}/diff/${baseReplayId}`;
const diffUrl = `https://app.meticulous.ai/projects/${organizationName}/${projectName}/simulations/${headReplayId}/diff/${baseReplayId}`;
return diffUrl;
};
exports.getDiffUrl = getDiffUrl;

@@ -7,2 +7,3 @@ import { CommandModule } from "yargs";

devTools?: boolean | null | undefined;
shiftTime: boolean;
networkStubbing: boolean;

@@ -9,0 +10,0 @@ moveBeforeClick?: boolean | null | undefined;

@@ -13,3 +13,3 @@ "use strict";

const sentry_utils_1 = require("../../utils/sentry.utils");
const handler = async ({ apiToken, sessionId, appUrl, devTools, networkStubbing, moveBeforeClick, cookiesFile, }) => {
const handler = async ({ apiToken, sessionId, appUrl, devTools, shiftTime, networkStubbing, moveBeforeClick, cookiesFile, }) => {
const logger = loglevel_1.default.getLogger(common_1.METICULOUS_LOGGER_NAME);

@@ -54,2 +54,3 @@ const client = (0, client_1.createClient)({ apiToken });

},
shiftTime,
networkStubbing,

@@ -80,2 +81,7 @@ moveBeforeClick: moveBeforeClick || false,

},
shiftTime: {
boolean: true,
description: "Shift time during simulation to be set as the recording time",
default: true,
},
networkStubbing: {

@@ -82,0 +88,0 @@ boolean: true,

@@ -18,2 +18,3 @@ import { CommandModule } from "yargs";

padTime: boolean;
shiftTime: boolean;
networkStubbing: boolean;

@@ -20,0 +21,0 @@ moveBeforeClick?: boolean | null | undefined;

@@ -25,3 +25,3 @@ "use strict";

const screenshot_diff_command_1 = require("../screenshot-diff/screenshot-diff.command");
const replayCommandHandler = async ({ apiToken, commitSha: commitSha_, sessionId, appUrl, headless, devTools, bypassCSP, screenshot, screenshotSelector, baseSimulationId: baseReplayId_, diffThreshold, diffPixelThreshold, save, exitOnMismatch, padTime, networkStubbing, moveBeforeClick, cookies, cookiesFile, }) => {
const replayCommandHandler = async ({ apiToken, commitSha: commitSha_, sessionId, appUrl, headless, devTools, bypassCSP, screenshot, screenshotSelector, baseSimulationId: baseReplayId_, diffThreshold, diffPixelThreshold, save, exitOnMismatch, padTime, shiftTime, networkStubbing, moveBeforeClick, cookies, cookiesFile, }) => {
const logger = loglevel_1.default.getLogger(common_1.METICULOUS_LOGGER_NAME);

@@ -91,2 +91,3 @@ const client = (0, client_1.createClient)({ apiToken });

padTime,
shiftTime,
screenshot: screenshot || false,

@@ -245,2 +246,7 @@ screenshotSelector: screenshotSelector || "",

},
shiftTime: {
boolean: true,
description: "Shift time during simulation to be set as the recording time",
default: true,
},
networkStubbing: {

@@ -247,0 +253,0 @@ boolean: true,

@@ -12,2 +12,3 @@ import { CommandModule } from "yargs";

padTime: boolean;
shiftTime: boolean;
networkStubbing: boolean;

@@ -14,0 +15,0 @@ githubSummary?: boolean | null | undefined;

@@ -18,3 +18,3 @@ "use strict";

const version_utils_1 = require("../../utils/version.utils");
const handler = async ({ apiToken, commitSha: commitSha_, appUrl, headless, devTools, bypassCSP, diffThreshold, diffPixelThreshold, padTime, networkStubbing, githubSummary, parallelize, parallelTasks, deflake, }) => {
const handler = async ({ apiToken, commitSha: commitSha_, appUrl, headless, devTools, bypassCSP, diffThreshold, diffPixelThreshold, padTime, shiftTime, networkStubbing, githubSummary, parallelize, parallelTasks, deflake, }) => {
const logger = loglevel_1.default.getLogger(common_1.METICULOUS_LOGGER_NAME);

@@ -55,2 +55,3 @@ const client = (0, client_1.createClient)({ apiToken });

padTime,
shiftTime,
networkStubbing,

@@ -82,2 +83,3 @@ parallelTasks,

padTime,
shiftTime,
networkStubbing,

@@ -159,2 +161,7 @@ ...options,

},
shiftTime: {
boolean: true,
description: "Shift time during simulation to be set as the recording time",
default: true,
},
networkStubbing: {

@@ -161,0 +168,0 @@ boolean: true,

@@ -18,2 +18,3 @@ import log from "loglevel";

padTime: boolean;
shiftTime: boolean;
networkStubbing: boolean;

@@ -20,0 +21,0 @@ };

@@ -17,2 +17,3 @@ import { AxiosInstance } from "axios";

padTime: boolean;
shiftTime: boolean;
networkStubbing: boolean;

@@ -19,0 +20,0 @@ parallelTasks: number | null | undefined;

@@ -15,3 +15,3 @@ "use strict";

/** Handler for running Meticulous tests in parallel using child processes */
const runAllTestsInParallel = async ({ config, client, testRun, apiToken, commitSha, appUrl, headless, devTools, bypassCSP, diffThreshold, diffPixelThreshold, padTime, networkStubbing, parallelTasks, deflake, }) => {
const runAllTestsInParallel = async ({ config, client, testRun, apiToken, commitSha, appUrl, headless, devTools, bypassCSP, diffThreshold, diffPixelThreshold, padTime, shiftTime, networkStubbing, parallelTasks, deflake, }) => {
const logger = loglevel_1.default.getLogger(common_1.METICULOUS_LOGGER_NAME);

@@ -68,2 +68,3 @@ const results = [];

padTime,
shiftTime,
networkStubbing,

@@ -70,0 +71,0 @@ },

@@ -44,3 +44,3 @@ "use strict";

(0, common_1.getMeticulousLocalDataDir)(dataDir);
const { apiToken, commitSha, appUrl, headless, devTools, bypassCSP, diffThreshold, diffPixelThreshold, padTime, networkStubbing, } = runAllOptions;
const { apiToken, commitSha, appUrl, headless, devTools, bypassCSP, diffThreshold, diffPixelThreshold, padTime, shiftTime, networkStubbing, } = runAllOptions;
const { sessionId, baseReplayId, options } = testCase;

@@ -64,2 +64,3 @@ const result = await (0, deflake_tests_handler_1.deflakeReplayCommandHandler)({

padTime,
shiftTime,
networkStubbing,

@@ -66,0 +67,0 @@ ...options,

{
"name": "@alwaysmeticulous/cli",
"version": "1.7.0",
"version": "1.7.1",
"description": "The Meticulous CLI",

@@ -27,3 +27,3 @@ "license": "ISC",

"dependencies": {
"@alwaysmeticulous/common": "^1.5.4",
"@alwaysmeticulous/common": "^1.7.1",
"@sentry/node": "^7.2.0",

@@ -72,3 +72,3 @@ "adm-zip": "^0.5.9",

},
"gitHead": "0d6e1a874934246ec904953b451d8ba1934b433d"
"gitHead": "2820b76f2b7bff9d5bc03b46fb28b36ef2e76764"
}

Sorry, the diff of this file is not supported yet