Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
NotificationEvent,
PushEvent,
PushManager,
PushSubscription,
Request,
Response,
ServiceWorkerGlobalScope,
ServiceWorkerRegistration,
URL,
console,
clearImmediate,
clearInterval,
clearTimeout,
exports: scriptModule.exports,
fetch,
indexedDB: fakeIndexedDB.default,
location: contextlocation,
module: scriptModule,
origin,
process,
setImmediate,
setTimeout,
setInterval,
self: globalScope,
require: getRequire(contextpath)
});
return context;
};