New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@antora/content-aggregator

Package Overview
Dependencies
Maintainers
2
Versions
88
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.0.0-alpha.2 to 3.0.0-alpha.3

16

lib/aggregate-content.js

@@ -530,13 +530,15 @@ 'use strict'

if (data.name == null) throw new Error(`${COMPONENT_DESC_FILENAME} is missing a name`)
const name = String(data.name)
const name = data.name = String(data.name)
if (name === '.' || name === '..' || ~name.indexOf('/')) {
throw new Error(`name in ${COMPONENT_DESC_FILENAME} cannot have path segments: ${name}`)
}
if (data.version == null) throw new Error(`${COMPONENT_DESC_FILENAME} is missing a version`)
const version = String(data.version)
if (version === '.' || version === '..' || ~version.indexOf('/')) {
throw new Error(`version in ${COMPONENT_DESC_FILENAME} cannot have path segments: ${version}`)
if (data.version == null) {
if (!('version' in data)) throw new Error(`${COMPONENT_DESC_FILENAME} is missing a version`)
data.version = ''
} else {
const version = data.version = String(data.version)
if (version === '.' || version === '..' || ~version.indexOf('/')) {
throw new Error(`version in ${COMPONENT_DESC_FILENAME} cannot have path segments: ${version}`)
}
}
data.name = name
data.version = version
return camelCaseKeys(data, { deep: true, stopPaths: ['asciidoc'] })

@@ -543,0 +545,0 @@ }

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

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

"isomorphic-git": "0.78.5",
"js-yaml": "~4.0",
"js-yaml": "~4.1",
"matcher": "~4.0",

@@ -50,3 +50,3 @@ "multi-progress": "~4.0",

],
"gitHead": "997231474334311f3e5ff55d68534f5ae6e5d7ee"
"gitHead": "2f02cf0d42fb5db4607ea5e600ca8a4ab45d5a5f"
}
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