@serwist/google-analytics
Advanced tools
Comparing version 9.0.0-preview.4 to 9.0.0-preview.5
import { BackgroundSyncPlugin } from '@serwist/background-sync'; | ||
import { privateCacheNames, logger, getFriendlyURL } from '@serwist/core/internal'; | ||
import { Router, Route } from '@serwist/routing'; | ||
import { registerRoute, Route } from '@serwist/routing'; | ||
import { NetworkOnly, NetworkFirst } from '@serwist/strategies'; | ||
@@ -105,9 +105,7 @@ | ||
]; | ||
const router = new Router(); | ||
for (const route of routes){ | ||
router.registerRoute(route); | ||
registerRoute(route); | ||
} | ||
router.addFetchListener(); | ||
}; | ||
export { initialize }; |
{ | ||
"name": "@serwist/google-analytics", | ||
"version": "9.0.0-preview.4", | ||
"version": "9.0.0-preview.5", | ||
"type": "module", | ||
@@ -45,6 +45,6 @@ "description": "Queues failed requests and uses the Background Sync API to replay them when the network is available", | ||
"dependencies": { | ||
"@serwist/background-sync": "9.0.0-preview.4", | ||
"@serwist/core": "9.0.0-preview.4", | ||
"@serwist/routing": "9.0.0-preview.4", | ||
"@serwist/strategies": "9.0.0-preview.4" | ||
"@serwist/background-sync": "9.0.0-preview.5", | ||
"@serwist/core": "9.0.0-preview.5", | ||
"@serwist/routing": "9.0.0-preview.5", | ||
"@serwist/strategies": "9.0.0-preview.5" | ||
}, | ||
@@ -54,3 +54,3 @@ "devDependencies": { | ||
"typescript": "5.4.0-dev.20240206", | ||
"@serwist/constants": "9.0.0-preview.4" | ||
"@serwist/constants": "9.0.0-preview.5" | ||
}, | ||
@@ -57,0 +57,0 @@ "peerDependencies": { |
@@ -13,3 +13,3 @@ /* | ||
import { getFriendlyURL, logger, privateCacheNames } from "@serwist/core/internal"; | ||
import { Route, Router } from "@serwist/routing"; | ||
import { Route, registerRoute } from "@serwist/routing"; | ||
import { NetworkFirst, NetworkOnly } from "@serwist/strategies"; | ||
@@ -196,8 +196,5 @@ | ||
const router = new Router(); | ||
for (const route of routes) { | ||
router.registerRoute(route); | ||
registerRoute(route); | ||
} | ||
router.addFetchListener(); | ||
}; |
Sorry, the diff of this file is not supported yet
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
18403
348
+ Added@serwist/background-sync@9.0.0-preview.5(transitive)
+ Added@serwist/core@9.0.0-preview.5(transitive)
+ Added@serwist/routing@9.0.0-preview.5(transitive)
+ Added@serwist/strategies@9.0.0-preview.5(transitive)
- Removed@serwist/background-sync@9.0.0-preview.4(transitive)
- Removed@serwist/core@9.0.0-preview.4(transitive)
- Removed@serwist/routing@9.0.0-preview.4(transitive)
- Removed@serwist/strategies@9.0.0-preview.4(transitive)