Socket
Socket
Sign inDemoInstall

workbox-navigation-preload

Package Overview
Dependencies
Maintainers
6
Versions
67
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 6.4.2 to 6.5.0

2

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

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

try {
self['workbox:navigation-preload:6.4.1'] && _();
self['workbox:navigation-preload:6.4.2'] && _();
} catch (e) {}

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

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

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

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

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

*
* @memberof module:workbox-navigation-preload
* @memberof 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:6.4.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:6.4.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 module:workbox-navigation-preload
* @memberof workbox-navigation-preload
*/
declare function disable(): void;
export { disable };

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

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

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

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

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

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

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

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

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

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

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

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

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

{
"name": "workbox-navigation-preload",
"version": "6.4.2",
"version": "6.5.0",
"license": "MIT",

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

"dependencies": {
"workbox-core": "6.4.2"
"workbox-core": "6.5.0"
},
"gitHead": "9fae1320327a3a75bf71df9a76708978bd252428"
"gitHead": "d796009eadcba556b2795e0fea7d71a241f535e0"
}
// @ts-ignore
try{self['workbox:navigation-preload:6.4.2']&&_()}catch(e){}
try{self['workbox:navigation-preload:6.5.0']&&_()}catch(e){}

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

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

@@ -22,0 +22,0 @@ function disable(): void {

@@ -24,3 +24,3 @@ /*

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

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

@@ -18,3 +18,3 @@ /*

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

@@ -21,0 +21,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