Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
done = true;
contents = [err];
for(var i = 1; i < arguments.length; i++) {
var arg = arguments[i];
if(arg instanceof Buffer)
contents.push(arg);
else if(typeof arg === "string")
contents.push(new Buffer(arg, "utf-8"));
else
contents.push(arg);
}
loaderFinished.apply(null, arguments);
},
loaderIndex: loaderCallObjects.length,
currentLoaders: loaders.map(resolve.stringify.part),
query: loaderCallObject.query,
debug: options.debug,
minimize: options.minimize,
values: undefined,
options: options,
buffers: args
};
// add additional loader context params or functions
if(options.loader) for(var key in options.loader)
loaderContext[key] = options.loader[key];
// add additional loader context params or functions
if(loaderContextExtras) for(var key in loaderContextExtras)
loaderContext[key] = loaderContextExtras[key];