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

@antora/redirect-producer

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/redirect-producer - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

lib/produce-redirects.js

@@ -125,3 +125,3 @@ 'use strict'

if (file.pub.splat) {
return `location ^~ ${fromUrl}/ { rewrite ^${regexpEscape(fromUrl)}/(.*)$ ${regexpEscape(toUrl)}/$1 redirect; }`
return `location ^~ ${fromUrl}/ { rewrite ^${regexpEscape(fromUrl)}/(.*)$ ${toUrl}/$1 redirect; }`
} else {

@@ -128,0 +128,0 @@ return `location = ${fromUrl} { return 301 ${toUrl}; }`

{
"name": "@antora/redirect-producer",
"version": "3.0.0",
"version": "3.0.1",
"description": "Produces redirects (HTTP redirections) for pages in an Antora site.",

@@ -37,3 +37,3 @@ "license": "MPL-2.0",

],
"gitHead": "63554bf217f1d8deb2276ecd2a8d9c37ee8b460d"
"gitHead": "e8e6f6ba33b1ab3f796907b5a256893a64844cd1"
}
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