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

workbox-navigation-preload

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

workbox-navigation-preload - npm Package Compare versions

Comparing version 5.0.0-rc.1 to 5.0.0-rc.2

2

_version.js
"use strict";
// @ts-ignore
try {
self['workbox:navigation-preload:5.0.0-rc.1'] && _();
self['workbox:navigation-preload:5.0.0-rc.2'] && _();
}
catch (e) { }

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

try {
self['workbox:navigation-preload:5.0.0-rc.1'] && _();
self['workbox:navigation-preload:5.0.0-rc.2'] && _();
} catch (e) {}

@@ -21,3 +21,3 @@

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -39,3 +39,3 @@

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -74,3 +74,3 @@

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -77,0 +77,0 @@

@@ -1,2 +0,2 @@

this.workbox=this.workbox||{},this.workbox.navigationPreload=function(t){"use strict";try{self["workbox:navigation-preload:5.0.0-rc.1"]&&_()}catch(t){}function e(){return Boolean(self.registration&&self.registration.navigationPreload)}return t.disable=function(){e()&&self.addEventListener("activate",t=>{t.waitUntil(self.registration.navigationPreload.disable().then(()=>{}))})},t.enable=function(t){e()&&self.addEventListener("activate",e=>{e.waitUntil(self.registration.navigationPreload.enable().then(()=>{t&&self.registration.navigationPreload.setHeaderValue(t)}))})},t.isSupported=e,t}({});
this.workbox=this.workbox||{},this.workbox.navigationPreload=function(t){"use strict";try{self["workbox:navigation-preload:5.0.0-rc.2"]&&_()}catch(t){}function e(){return Boolean(self.registration&&self.registration.navigationPreload)}return t.disable=function(){e()&&self.addEventListener("activate",t=>{t.waitUntil(self.registration.navigationPreload.disable().then(()=>{}))})},t.enable=function(t){e()&&self.addEventListener("activate",e=>{e.waitUntil(self.registration.navigationPreload.enable().then(()=>{t&&self.registration.navigationPreload.setHeaderValue(t)}))})},t.isSupported=e,t}({});
//# sourceMappingURL=workbox-navigation-preload.prod.js.map

@@ -5,5 +5,5 @@ import './_version.js';

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/
declare function disable(): void;
export { disable };

@@ -14,3 +14,3 @@ /*

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -17,0 +17,0 @@ function disable() {

@@ -10,5 +10,5 @@ import './_version.js';

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/
declare function enable(headerValue?: string): void;
export { enable };

@@ -19,3 +19,3 @@ /*

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -22,0 +22,0 @@ function enable(headerValue) {

@@ -6,4 +6,4 @@ import { disable } from './disable.js';

/**
* @namespace workbox.navigationPreload
* @module workbox-navigation-preload
*/
export { disable, enable, isSupported, };

@@ -13,4 +13,4 @@ /*

/**
* @namespace workbox.navigationPreload
* @module workbox-navigation-preload
*/
export { disable, enable, isSupported, };

@@ -6,5 +6,5 @@ import './_version.js';

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/
declare function isSupported(): boolean;
export { isSupported };

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

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -16,0 +16,0 @@ function isSupported() {

{
"name": "workbox-navigation-preload",
"version": "5.0.0-rc.1",
"version": "5.0.0-rc.2",
"license": "MIT",

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

"dependencies": {
"workbox-core": "^5.0.0-rc.1"
"workbox-core": "^5.0.0-rc.2"
},
"gitHead": "f03f71e50507e13d82d4e0a875cc49ba4501aff3"
"gitHead": "89904768b2210e59c830dd380cf88a06e1c26a2b"
}
// @ts-ignore
try{self['workbox:navigation-preload:5.0.0-rc.1']&&_()}catch(e){}
try{self['workbox:navigation-preload:5.0.0-rc.2']&&_()}catch(e){}

@@ -20,3 +20,3 @@ /*

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -23,0 +23,0 @@ function disable() {

@@ -25,3 +25,3 @@ /*

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -28,0 +28,0 @@ function enable(headerValue?: string) {

@@ -16,3 +16,3 @@ /*

/**
* @namespace workbox.navigationPreload
* @module workbox-navigation-preload
*/

@@ -19,0 +19,0 @@

@@ -19,3 +19,3 @@ /*

*
* @memberof workbox.navigationPreload
* @memberof module:workbox-navigation-preload
*/

@@ -22,0 +22,0 @@ function isSupported(): boolean {

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

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