@antora/redirect-producer
Advanced tools
Comparing version 1.1.1 to 2.0.0-beta.1
@@ -5,3 +5,3 @@ 'use strict' | ||
const File = require('vinyl') | ||
const url = require('url') | ||
const { URL } = require('url') | ||
@@ -54,3 +54,3 @@ /** | ||
let urlContext | ||
return sourceUrl && (urlContext = url.parse(sourceUrl).pathname) !== '/' ? urlContext : undefined | ||
return sourceUrl && (urlContext = new URL(sourceUrl).pathname) !== '/' ? urlContext : undefined | ||
} | ||
@@ -57,0 +57,0 @@ |
{ | ||
"name": "@antora/redirect-producer", | ||
"version": "1.1.1", | ||
"version": "2.0.0-beta.1", | ||
"description": "Produces redirects (HTTP redirections) for pages in an Antora site.", | ||
@@ -18,3 +18,3 @@ "license": "MPL-2.0", | ||
"dependencies": { | ||
"@antora/asciidoc-loader": "1.1.1", | ||
"@antora/asciidoc-loader": "2.0.0-beta.1", | ||
"vinyl": "^2.2.0" | ||
@@ -21,0 +21,0 @@ }, |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6910
1
+ Added@antora/asciidoc-loader@2.0.0-beta.1(transitive)
+ Addedasciidoctor.js@1.5.9(transitive)
+ Addedopal-runtime@1.0.11(transitive)
- Removed@antora/asciidoc-loader@1.1.1(transitive)
- Removedasciidoctor.js@1.5.6(transitive)
- Removedopal-runtime@1.0.3(transitive)