@antora/ui-loader
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -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 @@ |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14060
352
+ Addedbase64-js@1.5.1(transitive)
+ Addedbl@4.0.4(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedieee754@1.2.1(transitive)
- Removedbl@3.0.1(transitive)
Updatedbl@~4.0