Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
publish.updates.forEach(update => {
const dir = update.package.location;
const tag = 'latest';
npm.publishTaggedInDir(tag, dir, function (err, out) {
cb(err, out, update, publish);
});
});
});