@antora/ui-loader
Advanced tools
Comparing version 2.1.0 to 2.1.1
'use strict' | ||
module.exports = Object.freeze({ | ||
FILE_MODE: 0o100666 & ~process.umask(), | ||
SUPPLEMENTAL_FILES_GLOB: '**/*', | ||
@@ -5,0 +6,0 @@ UI_CACHE_FOLDER: 'ui', |
@@ -21,3 +21,3 @@ 'use strict' | ||
const { UI_CACHE_FOLDER, UI_DESC_FILENAME, SUPPLEMENTAL_FILES_GLOB } = require('./constants') | ||
const { FILE_MODE, UI_CACHE_FOLDER, UI_DESC_FILENAME, SUPPLEMENTAL_FILES_GLOB } = require('./constants') | ||
const URI_SCHEME_RX = /^https?:\/\// | ||
@@ -234,4 +234,5 @@ const EXT_RX = /\.[a-z]{2,3}$/ | ||
const stat = new fs.Stats() | ||
stat.mode = FILE_MODE | ||
stat.mtime = undefined | ||
stat.size = contents.length | ||
stat.mode = 33188 | ||
return new File({ path: path_, contents: Buffer.from(contents), stat }) | ||
@@ -238,0 +239,0 @@ } |
{ | ||
"name": "@antora/ui-loader", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Downloads a UI bundle, if necessary, and loads the files into a UI catalog for use in an Antora documentation pipeline.", | ||
@@ -5,0 +5,0 @@ "license": "MPL-2.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
13944
348