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.4 to 9.0.0-preview.0

dist/BroadcastCacheUpdate.d.ts.map

1

dist/BroadcastCacheUpdate.d.ts

@@ -71,1 +71,2 @@ import type { CacheDidUpdateCallbackParam } from "@serwist/core";

export { BroadcastCacheUpdate };
//# sourceMappingURL=BroadcastCacheUpdate.d.ts.map

@@ -28,1 +28,2 @@ import type { SerwistPlugin } from "@serwist/core";

export { BroadcastUpdatePlugin };
//# sourceMappingURL=BroadcastUpdatePlugin.d.ts.map

@@ -10,1 +10,2 @@ import type { BroadcastCacheUpdateOptions } from "./BroadcastCacheUpdate.js";

export type { BroadcastCacheUpdateOptions };
//# sourceMappingURL=index.d.ts.map

@@ -12,1 +12,2 @@ /**

export { responsesAreSame };
//# sourceMappingURL=responsesAreSame.d.ts.map

@@ -5,1 +5,2 @@ export declare const CACHE_UPDATED_MESSAGE_TYPE = "CACHE_UPDATED";

export declare const DEFAULT_HEADERS_TO_CHECK: string[];
//# sourceMappingURL=constants.d.ts.map

37

package.json
{
"name": "@serwist/broadcast-update",
"version": "8.4.4",
"version": "9.0.0-preview.0",
"type": "module",
"description": "A service worker helper library that uses the Broadcast Channel API to announce when a cached response has updated",
"files": [
"dist",
"!dist/**/dts"
"src",
"dist"
],

@@ -15,3 +15,4 @@ "keywords": [

"sw",
"serwist-plugin"
"serwist-plugin",
"broadcastchannel"
],

@@ -23,24 +24,26 @@ "author": "Google's Web DevRel Team, Serwist's Team",

"homepage": "https://serwist.pages.dev",
"module": "./dist/index.js",
"main": "./dist/index.cjs",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"dependencies": {
"@serwist/core": "8.4.4"
"@serwist/core": "9.0.0-preview.0"
},
"devDependencies": {
"rollup": "4.9.1",
"@serwist/constants": "8.4.4"
"rollup": "4.9.6",
"typescript": "5.4.0-dev.20240203",
"@serwist/constants": "9.0.0-preview.0"
},
"peerDependencies": {
"typescript": ">=5.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"scripts": {

@@ -47,0 +50,0 @@ "build": "rimraf dist && cross-env NODE_ENV=production rollup --config rollup.config.js",

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