New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@serwist/sw

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serwist/sw - npm Package Compare versions

Comparing version 9.0.0-preview.4 to 9.0.0-preview.5

2

dist/index.js

@@ -48,3 +48,3 @@ import { precacheAndRoute, PrecacheFallbackPlugin, cleanupOutdatedCaches, createHandlerBoundToURL } from '@serwist/precaching';

for (const entry of runtimeCachingList){
registerRoute(entry.urlPattern, entry.handler, entry.method);
registerRoute(entry.matcher, entry.handler, entry.method);
}

@@ -51,0 +51,0 @@ }

@@ -15,3 +15,3 @@ import type { RouteHandler, RouteMatchCallback } from "@serwist/core";

* URLs. If multiple `RuntimeCaching` routes are defined, then the first one
* whose `urlPattern` matches will be the one that responds.
* whose `matcher` matches will be the one that responds.
*

@@ -22,3 +22,3 @@ * This value directly maps to the first parameter passed to

*/
urlPattern: RegExp | string | RouteMatchCallback;
matcher: RegExp | string | RouteMatchCallback;
/**

@@ -25,0 +25,0 @@ * This determines how the runtime route will generate a response. It

{
"name": "@serwist/sw",
"version": "9.0.0-preview.4",
"version": "9.0.0-preview.5",
"type": "module",

@@ -31,13 +31,13 @@ "description": "This module makes it easy to get started with the Serwist service worker libraries.",

"dependencies": {
"@serwist/background-sync": "9.0.0-preview.4",
"@serwist/broadcast-update": "9.0.0-preview.4",
"@serwist/cacheable-response": "9.0.0-preview.4",
"@serwist/core": "9.0.0-preview.4",
"@serwist/expiration": "9.0.0-preview.4",
"@serwist/google-analytics": "9.0.0-preview.4",
"@serwist/navigation-preload": "9.0.0-preview.4",
"@serwist/precaching": "9.0.0-preview.4",
"@serwist/range-requests": "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/broadcast-update": "9.0.0-preview.5",
"@serwist/cacheable-response": "9.0.0-preview.5",
"@serwist/core": "9.0.0-preview.5",
"@serwist/expiration": "9.0.0-preview.5",
"@serwist/google-analytics": "9.0.0-preview.5",
"@serwist/navigation-preload": "9.0.0-preview.5",
"@serwist/precaching": "9.0.0-preview.5",
"@serwist/range-requests": "9.0.0-preview.5",
"@serwist/routing": "9.0.0-preview.5",
"@serwist/strategies": "9.0.0-preview.5"
},

@@ -47,4 +47,4 @@ "devDependencies": {

"typescript": "5.4.0-dev.20240206",
"@serwist/constants": "9.0.0-preview.4",
"@serwist/utils": "9.0.0-preview.4"
"@serwist/constants": "9.0.0-preview.5",
"@serwist/utils": "9.0.0-preview.5"
},

@@ -51,0 +51,0 @@ "peerDependencies": {

@@ -25,5 +25,5 @@ import { logger } from "@serwist/core/internal";

for (const entry of runtimeCachingList) {
registerRoute(entry.urlPattern, entry.handler, entry.method);
registerRoute(entry.matcher, entry.handler, entry.method);
}
}
};

@@ -16,3 +16,3 @@ import type { RouteHandler, RouteMatchCallback } from "@serwist/core";

* URLs. If multiple `RuntimeCaching` routes are defined, then the first one
* whose `urlPattern` matches will be the one that responds.
* whose `matcher` matches will be the one that responds.
*

@@ -23,3 +23,3 @@ * This value directly maps to the first parameter passed to

*/
urlPattern: RegExp | string | RouteMatchCallback;
matcher: RegExp | string | RouteMatchCallback;
/**

@@ -26,0 +26,0 @@ * This determines how the runtime route will generate a response. It

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc