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

@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.0.1 to 3.0.2

12

lib/git-plugin-http.js

@@ -15,14 +15,8 @@ 'use strict'

const buffers = []
let offset = 0
let size = 0
let totalLength = 0
for await (const chunk of data) {
buffers.push(chunk)
size += chunk.byteLength
totalLength += chunk.byteLength
}
data = new Uint8Array(size)
for (const buffer of buffers) {
data.set(buffer, offset)
offset += buffer.byteLength
}
return Buffer.from(data.buffer)
return Buffer.concat(buffers, totalLength)
}

@@ -29,0 +23,0 @@

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

@@ -19,5 +19,2 @@ "license": "MPL-2.0",

"main": "lib/index.js",
"scripts": {
"test": "_mocha"
},
"dependencies": {

@@ -56,3 +53,7 @@ "@antora/expand-path-helper": "~2.0",

],
"gitHead": "e8e6f6ba33b1ab3f796907b5a256893a64844cd1"
"scripts": {
"test": "_mocha",
"prepublishOnly": "node $npm_config_local_prefix/npm/prepublishOnly.js",
"postpublish": "node $npm_config_local_prefix/npm/postpublish.js"
}
}
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