Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = function() {
if (typeof window === "undefined") {
global.window = overrideWindow()
}
if (typeof FileReader === "undefined") {
global.FileReader = overrideFileReader()
}
if (typeof Image === "undefined") {
global.Image = overrideImage()
}
const resemblejs = require('resemblejs');
return resemblejs.apply(this, arguments);
};