Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
warnings.forEach(warning => {
if (!this.options.suppressWarnings.includes(warning.code)) {
if (warning.code === 'missing-declaration') return;
// console.log(`You can suppress this warning by putting "${warning.code}" into your Svelte compiler options`);
log(warning.toString());
}
});
}