Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serwist/broadcast-update

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serwist/broadcast-update - npm Package Compare versions

Comparing version 8.4.0 to 8.4.1

6

dist/index.js

@@ -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

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