New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@useparagon/cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@useparagon/cli - npm Package Compare versions

Comparing version

to
1.0.8-canary.4

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

case core_1.StepType.CRON:
const cronOptions = (0, cron_1.getCronOptions)(step.parameters.schedule);
const timezoneSource = 'timezone' in step.parameters.schedule
? step.parameters.schedule.timezone
: 'time' in step.parameters.schedule
? step.parameters.schedule.time.timezone
: undefined;
const timezone = timezoneSource
? typeof timezoneSource === 'string'
? timezoneSource
: (0, source_codegen_1.convertSourceToCode)(timezoneSource, dependencies).replaceAll('`', '')
: undefined;
const cronOptions = (0, cron_1.getCronOptions)(step.parameters.schedule, timezone);
varDeclarations.push(`

@@ -288,0 +298,0 @@ const ${variableName} = new CronStep(${(0, json_1.stringifyObject)(cronOptions)});

{
"name": "@useparagon/cli",
"version": "1.0.8-canary.3",
"version": "1.0.8-canary.4",
"description": "CLI for WaC (Workflows as Code)",

@@ -37,3 +37,3 @@ "repository": "https://github.com/useparagon/paragraph",

"uuid": "^9.0.0",
"@useparagon/core": "1.0.8-canary.3"
"@useparagon/core": "1.0.8-canary.4"
},

@@ -40,0 +40,0 @@ "devDependencies": {

Sorry, the diff of this file is not supported yet