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

@serwist/navigation-preload

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/navigation-preload - npm Package Compare versions

Comparing version 8.4.0 to 8.4.1

10

dist/index.js

@@ -14,3 +14,3 @@ import { logger } from '@serwist/core/internal';

*/ function isSupported() {
return Boolean(self.registration && self.registration.navigationPreload);
return Boolean(self.registration?.navigationPreload);
}

@@ -25,3 +25,3 @@

if (process.env.NODE_ENV !== "production") {
logger.log(`Navigation preload is disabled.`);
logger.log("Navigation preload is disabled.");
}

@@ -32,3 +32,3 @@ }));

if (process.env.NODE_ENV !== "production") {
logger.log(`Navigation preload is not supported in this browser.`);
logger.log("Navigation preload is not supported in this browser.");
}

@@ -54,3 +54,3 @@ }

if (process.env.NODE_ENV !== "production") {
logger.log(`Navigation preload is enabled.`);
logger.log("Navigation preload is enabled.");
}

@@ -61,3 +61,3 @@ }));

if (process.env.NODE_ENV !== "production") {
logger.log(`Navigation preload is not supported in this browser.`);
logger.log("Navigation preload is not supported in this browser.");
}

@@ -64,0 +64,0 @@ }

{
"name": "@serwist/navigation-preload",
"version": "8.4.0",
"version": "8.4.1",
"type": "module",

@@ -39,7 +39,7 @@ "description": "This library allows developers to opt-in to using Navigation Preload in their service worker.",

"dependencies": {
"@serwist/core": "8.4.0"
"@serwist/core": "8.4.1"
},
"devDependencies": {
"rollup": "4.9.1",
"@serwist/constants": "8.4.0"
"@serwist/constants": "8.4.1"
},

@@ -49,5 +49,5 @@ "scripts": {

"dev": "rollup --config rollup.config.js --watch",
"lint": "eslint src --ext ts,tsx,js,jsx,cjs,mjs",
"lint": "biome lint ./src",
"typecheck": "tsc"
}
}

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