Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function settleSeries(done) {
var onSettled = helpers.onSettled(done);
nowAndLater.mapSeries(args, iterator, extensions, onSettled);
}
function series(done) {
nowAndLater.mapSeries(args, iterator, extensions, done);
}
function addSourceMaps(file, state, callback) {
var tasks = [
loadSourceMap,
fixImportedSourceMap,
mapsLoaded,
];
function apply(fn, key, cb) {
fn(file, state, cb);
}
nal.mapSeries(tasks, apply, done);
function done() {
callback(null, file);
}
}