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

workbox-broadcast-update

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workbox-broadcast-update - npm Package Compare versions

Comparing version 5.1.3 to 6.0.0-alpha.0

2

BroadcastCacheUpdate.d.ts

@@ -59,3 +59,3 @@ import { CacheDidUpdateCallbackParam } from 'workbox-core/types.js';

* to. This is included in the broadcast message.
* @param {Event} [options.event] event An optional event that triggered
* @param {Event} options.event event The event that triggered
* this possible cache update.

@@ -62,0 +62,0 @@ * @return {Promise} Resolves once the update is sent.

@@ -85,3 +85,3 @@ /*

* to. This is included in the broadcast message.
* @param {Event} [options.event] event An optional event that triggered
* @param {Event} options.event event The event that triggered
* this possible cache update.

@@ -88,0 +88,0 @@ * @return {Promise} Resolves once the update is sent.

@@ -37,3 +37,3 @@ import { WorkboxPlugin } from 'workbox-core/types.js';

* @param {Request} options.request The request that triggered the update.
* @param {Request} [options.event] The event that triggered the update.
* @param {Request} options.event The event that triggered the update.
*/

@@ -40,0 +40,0 @@ cacheDidUpdate: WorkboxPlugin['cacheDidUpdate'];

@@ -43,3 +43,3 @@ /*

* @param {Request} options.request The request that triggered the update.
* @param {Request} [options.event] The event that triggered the update.
* @param {Request} options.event The event that triggered the update.
*/

@@ -46,0 +46,0 @@ this.cacheDidUpdate = async (options) => {

@@ -151,3 +151,3 @@ this.workbox = this.workbox || {};

* to. This is included in the broadcast message.
* @param {Event} [options.event] event An optional event that triggered
* @param {Event} options.event event The event that triggered
* this possible cache update.

@@ -271,3 +271,3 @@ * @return {Promise} Resolves once the update is sent.

* @param {Request} options.request The request that triggered the update.
* @param {Request} [options.event] The event that triggered the update.
* @param {Request} options.event The event that triggered the update.
*/

@@ -274,0 +274,0 @@ this.cacheDidUpdate = async options => {

{
"name": "workbox-broadcast-update",
"version": "5.1.3",
"version": "6.0.0-alpha.0",
"license": "MIT",

@@ -17,10 +17,5 @@ "author": "Google's Web DevRel Team",

],
"scripts": {
"build": "gulp build-packages --package workbox-broadcast-update",
"version": "npm run build",
"prepare": "npm run build"
},
"workbox": {
"browserNamespace": "workbox.broadcastUpdate",
"packageType": "browser"
"packageType": "sw"
},

@@ -31,5 +26,5 @@ "main": "index.js",

"dependencies": {
"workbox-core": "^5.1.3"
"workbox-core": "^6.0.0-alpha.0"
},
"gitHead": "fe4399505e02c3af6515fc8ffae8c58791f43f3c"
"gitHead": "3dfe1f4c5ed450bc4b7420321f1a113ff4382d1b"
}

@@ -108,3 +108,3 @@ /*

* to. This is included in the broadcast message.
* @param {Event} [options.event] event An optional event that triggered
* @param {Event} options.event event The event that triggered
* this possible cache update.

@@ -111,0 +111,0 @@ * @return {Promise} Resolves once the update is sent.

@@ -53,3 +53,3 @@ /*

* @param {Request} options.request The request that triggered the update.
* @param {Request} [options.event] The event that triggered the update.
* @param {Request} options.event The event that triggered the update.
*/

@@ -56,0 +56,0 @@ cacheDidUpdate: WorkboxPlugin['cacheDidUpdate'] = async (options) => {

Sorry, the diff of this file is not supported yet

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