@expo/steps
Advanced tools
Comparing version 1.0.164-alpha.0 to 1.0.165
@@ -173,11 +173,9 @@ import assert from 'assert'; | ||
let ifCondition = this.ifCondition; | ||
if (ifCondition.startsWith('${') && ifCondition.endsWith('}')) { | ||
if (ifCondition.startsWith('${{') && ifCondition.endsWith('}}')) { | ||
ifCondition = ifCondition.slice(3, -2); | ||
} | ||
else if (ifCondition.startsWith('${') && ifCondition.endsWith('}')) { | ||
ifCondition = ifCondition.slice(2, -1); | ||
} | ||
return Boolean(jsepEval(ifCondition, { | ||
success: () => !hasAnyPreviousStepFailed, | ||
failure: () => hasAnyPreviousStepFailed, | ||
always: () => true, | ||
never: () => false, | ||
env: this.getScriptEnv(), | ||
inputs: (_b = (_a = this.inputs) === null || _a === void 0 ? void 0 : _a.reduce((acc, input) => { | ||
@@ -191,2 +189,3 @@ acc[input.id] = input.value; | ||
}, | ||
...this.getInterpolationContext(), | ||
})); | ||
@@ -193,0 +192,0 @@ } |
{ | ||
"name": "@expo/steps", | ||
"type": "module", | ||
"version": "1.0.164-alpha.0", | ||
"version": "1.0.165", | ||
"main": "./dist_commonjs/index.cjs", | ||
@@ -51,3 +51,3 @@ "types": "./dist_esm/index.d.ts", | ||
"dependencies": { | ||
"@expo/eas-build-job": "1.0.164-alpha.0", | ||
"@expo/eas-build-job": "1.0.165", | ||
"@expo/logger": "1.0.117", | ||
@@ -69,3 +69,3 @@ "@expo/spawn-async": "^1.7.2", | ||
}, | ||
"gitHead": "75a90c3f4ecb2a123425e02c7b3f6ce22c490bd6" | ||
"gitHead": "ae3001b937e6e5b7115b82d4e56e666dfb2bda7a" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
714662
6151
+ Added@expo/eas-build-job@1.0.165(transitive)
- Removed@expo/eas-build-job@1.0.164-alpha.0(transitive)
Updated@expo/eas-build-job@1.0.165