@serwist/broadcast-update
Advanced tools
Comparing version 8.4.0 to 8.4.1
@@ -22,4 +22,4 @@ import { SerwistError, logger, assert, resultingClientExists, timeout, dontWaitFor } from '@serwist/core/internal'; | ||
if (process.env.NODE_ENV !== "production") { | ||
logger.warn(`Unable to determine where the response has been updated ` + `because none of the headers that would be checked are present.`); | ||
logger.debug(`Attempting to compare the following: `, firstResponse, secondResponse, headersToCheck); | ||
logger.warn("Unable to determine where the response has been updated " + "because none of the headers that would be checked are present."); | ||
logger.debug("Attempting to compare the following: ", firstResponse, secondResponse, headersToCheck); | ||
} | ||
@@ -138,3 +138,3 @@ // Just return true, indicating the that responses are the same, since we | ||
if (process.env.NODE_ENV !== "production") { | ||
logger.log(`Newer response found (and cached) for:`, options.request.url); | ||
logger.log("Newer response found (and cached) for:", options.request.url); | ||
} | ||
@@ -141,0 +141,0 @@ const messageData = { |
{ | ||
"name": "@serwist/broadcast-update", | ||
"version": "8.4.0", | ||
"version": "8.4.1", | ||
"type": "module", | ||
@@ -38,13 +38,13 @@ "description": "A service worker helper library that uses the Broadcast Channel API to announce when a cached response has updated", | ||
"dependencies": { | ||
"@serwist/core": "8.4.0" | ||
"@serwist/core": "8.4.1" | ||
}, | ||
"devDependencies": { | ||
"rollup": "4.9.1", | ||
"@serwist/constants": "8.4.0" | ||
"@serwist/constants": "8.4.1" | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js", | ||
"lint": "eslint src --ext ts,tsx,js,jsx,cjs,mjs", | ||
"lint": "biome lint ./src", | ||
"typecheck": "tsc" | ||
} | ||
} |
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
24758
+ Added@serwist/core@8.4.1(transitive)
- Removed@serwist/core@8.4.0(transitive)
Updated@serwist/core@8.4.1