service-worker-mock
Advanced tools
Comparing version 1.11.1 to 1.11.2
@@ -29,2 +29,6 @@ // stubs https://developer.mozilla.org/en-US/docs/Web/API/Headers | ||
forEach(callback) { | ||
return this._map.forEach(callback); | ||
} | ||
get(name) { | ||
@@ -31,0 +35,0 @@ return this._map.has(name) ? this._map.get(name) : null; |
const PushManager = require('./PushManager'); | ||
const NavigationPreloadManager = require('./NavigationPreloadManager'); | ||
const Notification = require('./Notification'); | ||
@@ -12,2 +13,3 @@ const NotificationEvent = require('./NotificationEvent'); | ||
this.pushManager = new PushManager(); | ||
this.navigationPreload = new NavigationPreloadManager(); | ||
this.scope = '/'; | ||
@@ -14,0 +16,0 @@ this.waiting = null; |
{ | ||
"name": "service-worker-mock", | ||
"version": "1.11.1", | ||
"version": "1.11.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25103
27
672