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

@serwist/broadcast-update

Package Overview
Dependencies
Maintainers
1
Versions
53
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 9.0.0-preview.14 to 9.0.0-preview.15

3

dist/index.d.ts

@@ -5,4 +5,5 @@ import { BroadcastCacheUpdate } from "./BroadcastCacheUpdate.js";

import { responsesAreSame } from "./responsesAreSame.js";
import type { BroadcastCacheUpdateOptions, BroadcastMessage, BroadcastPayload, BroadcastPayloadGenerator } from "./types.js";
export { BroadcastCacheUpdate, BroadcastUpdatePlugin, responsesAreSame, CACHE_UPDATED_MESSAGE_META, CACHE_UPDATED_MESSAGE_TYPE, defaultHeadersToCheck, };
export type * from "./types.js";
export type { BroadcastCacheUpdateOptions, BroadcastPayload, BroadcastPayloadGenerator, BroadcastMessage };
//# sourceMappingURL=index.d.ts.map
/**
* Given two `Response's`, compares several header values to see if they are
* Given two responses, compares several header values to see if they are
* the same or not.

@@ -4,0 +4,0 @@ *

@@ -28,5 +28,3 @@ import type { CacheDidUpdateCallbackParam } from "@serwist/core";

export type BroadcastPayload = Record<string, any>;
export interface BroadcastPayloadGenerator {
(options: CacheDidUpdateCallbackParam): BroadcastPayload;
}
export type BroadcastPayloadGenerator = (options: CacheDidUpdateCallbackParam) => BroadcastPayload;
export interface BroadcastMessage {

@@ -33,0 +31,0 @@ type: typeof CACHE_UPDATED_MESSAGE_TYPE;

{
"name": "@serwist/broadcast-update",
"version": "9.0.0-preview.14",
"version": "9.0.0-preview.15",
"type": "module",

@@ -32,8 +32,8 @@ "description": "A module that uses the Broadcast Channel API to announce when a cached response has updated",

"dependencies": {
"@serwist/core": "9.0.0-preview.14"
"@serwist/core": "9.0.0-preview.15"
},
"devDependencies": {
"rollup": "4.13.0",
"typescript": "5.5.0-dev.20240312",
"@serwist/constants": "9.0.0-preview.14"
"typescript": "5.5.0-dev.20240323",
"@serwist/constants": "9.0.0-preview.15"
},

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

@@ -13,2 +13,3 @@ /*

import { responsesAreSame } from "./responsesAreSame.js";
import type { BroadcastCacheUpdateOptions, BroadcastMessage, BroadcastPayload, BroadcastPayloadGenerator } from "./types.js";

@@ -24,2 +25,2 @@ export {

export type * from "./types.js";
export type { BroadcastCacheUpdateOptions, BroadcastPayload, BroadcastPayloadGenerator, BroadcastMessage };

@@ -12,3 +12,3 @@ /*

/**
* Given two `Response's`, compares several header values to see if they are
* Given two responses, compares several header values to see if they are
* the same or not.

@@ -15,0 +15,0 @@ *

@@ -31,5 +31,3 @@ import type { CacheDidUpdateCallbackParam } from "@serwist/core";

export interface BroadcastPayloadGenerator {
(options: CacheDidUpdateCallbackParam): BroadcastPayload;
}
export type BroadcastPayloadGenerator = (options: CacheDidUpdateCallbackParam) => BroadcastPayload;

@@ -36,0 +34,0 @@ export interface BroadcastMessage {

Sorry, the diff of this file is not supported yet

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