Socket
Socket
Sign inDemoInstall

@antora/content-aggregator

Package Overview
Dependencies
Maintainers
2
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antora/content-aggregator - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

12

lib/aggregate-content.js

@@ -306,2 +306,4 @@ 'use strict'

}
} else {
worktreePatterns = []
}

@@ -827,7 +829,7 @@ const branchPatternsString = String(branchPatterns)

function resolveCredentials (credentialsFromUrlHolder, url, auth) {
const credentialsFromUrl = credentialsFromUrlHolder.get()
const credentialsFromUrl = credentialsFromUrlHolder.get() || {}
credentialsFromUrlHolder.clear()
if ('Authorization' in auth.headers) {
if (!credentialsFromUrl) return this.rejected({ url, auth })
credentialsFromUrlHolder.clear()
} else if (credentialsFromUrl) {
if (!('username' in credentialsFromUrl)) return this.rejected({ url, auth })
} else if ('username' in credentialsFromUrl) {
return credentialsFromUrl

@@ -888,3 +890,3 @@ } else {

* @param {String} url - The URL to check.
* @return {Boolean} A flag indicating whether the URL matches a directory on the local filesystem.
* @returns {Boolean} A flag indicating whether the URL matches a directory on the local filesystem.
*/

@@ -891,0 +893,0 @@ function isDirectory (url) {

{
"name": "@antora/content-aggregator",
"version": "3.1.1",
"version": "3.1.2",
"description": "Fetches and aggregates content from distributed sources for use in an Antora documentation pipeline.",

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

"@antora/expand-path-helper": "~2.0",
"@antora/logger": "3.1.1",
"@antora/logger": "3.1.2",
"@antora/user-require-helper": "~2.0",

@@ -38,4 +38,4 @@ "braces": "~3.0",

"glob-stream": "~7.0",
"hpagent": "~1.0",
"isomorphic-git": "~1.19",
"hpagent": "~1.1",
"isomorphic-git": "~1.21",
"js-yaml": "~4.1",

@@ -42,0 +42,0 @@ "multi-progress": "~4.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