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

@antora/ui-loader

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/ui-loader - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

6

lib/load-ui.js

@@ -130,3 +130,7 @@ 'use strict'

function downloadBundle (url, to) {
return get(url, { encoding: null }).then(({ body }) => fs.outputFile(to, body).then(() => to))
return get(url, { encoding: null })
.then(({ body }) => fs.outputFile(to, body).then(() => to))
.catch((e) => {
throw new Error(`Failed to download UI bundle: ${url}\nreason: ${e.message}`)
})
}

@@ -133,0 +137,0 @@

4

package.json
{
"name": "@antora/ui-loader",
"version": "2.1.1",
"version": "2.1.2",
"description": "Downloads a UI bundle, if necessary, and loads the files into a UI catalog for use in an Antora documentation pipeline.",

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

"@antora/expand-path-helper": "~1.0",
"bl": "~3.0",
"bl": "~4.0",
"cache-directory": "~2.0",

@@ -23,0 +23,0 @@ "camelcase-keys": "~6.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