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-alpha.1 to 3.0.0-alpha.2

2

lib/produce-redirects.js

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

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

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

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

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

"dependencies": {
"@antora/asciidoc-loader": "3.0.0-alpha.1",
"@antora/asciidoc-loader": "3.0.0-alpha.2",
"vinyl": "~2.2"

@@ -36,3 +36,3 @@ },

],
"gitHead": "337ff6d2ed11e1f4d0a8ef993ddc8eaac7a73e9f"
"gitHead": "997231474334311f3e5ff55d68534f5ae6e5d7ee"
}

@@ -15,4 +15,4 @@ # Antora Redirect Producer

Copyright (C) 2017-2020 [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org).
Copyright (C) 2017-present [OpenDevise Inc.](https://opendevise.com) and the [Antora Project](https://antora.org).
Use of this software is granted under the terms of the [Mozilla Public License Version 2.0](https://www.mozilla.org/en-US/MPL/2.0/) (MPL-2.0).
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