Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
kaxTask.succeed()
}
if (dependencyNotInUseByAMiniApp) {
kaxTask = kax.task(
'Ensuring that no MiniApp(s) is/are using a dependency'
)
await Ensure.dependencyNotInUseByAMiniApp(
dependencyNotInUseByAMiniApp.dependency,
dependencyNotInUseByAMiniApp.descriptor,
dependencyNotInUseByAMiniApp.extraErrorMessage
)
kaxTask.succeed()
}
if (dependencyIsOrphaned) {
kaxTask = kax.task('Ensuring that depedency/dependencies is/are orphaned')
await Ensure.dependencyIsOrphaned(
dependencyIsOrphaned.dependency,
dependencyIsOrphaned.descriptor,
dependencyIsOrphaned.extraErrorMessage
)
kaxTask.succeed()
}
if (isValidNpmPackageName) {
kaxTask = kax.task('Ensuring that NPM package name is valid')
await Ensure.isValidNpmPackageName(
isValidNpmPackageName.name,
isValidNpmPackageName.extraErrorMessage
)
kaxTask.succeed()
}
if (isValidElectrodeNativeModuleName) {
kaxTask = kax.task('Ensuring that Electrode Native module name is valid')