Socket
Socket
Sign inDemoInstall

@11ty/eleventy-navigation

Package Overview
Dependencies
1
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.4 to 0.3.5

6

eleventy-navigation.js

@@ -69,5 +69,5 @@ const DepGraph = require("dependency-graph").DepGraph;

function getUrlFilter(eleventyConfig) {
// First available in Eleventy 2.0.0-canary.15
// Short code path if pathPrefix is empty or the default
if(eleventyConfig.pathPrefix !== undefined && (eleventyConfig.pathPrefix === "/" || eleventyConfig.pathPrefix === "")) {
// eleventyConfig.pathPrefix was first available in Eleventy 2.0.0-canary.15
// And in Eleventy 2.0.0-canary.15 we recommend the a built-in transform for pathPrefix
if(eleventyConfig.pathPrefix !== undefined) {
return function(url) {

@@ -74,0 +74,0 @@ return url;

{
"name": "@11ty/eleventy-navigation",
"version": "0.3.4",
"version": "0.3.5",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc