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.0 to 2.1.1

1

lib/constants.js
'use strict'
module.exports = Object.freeze({
FILE_MODE: 0o100666 & ~process.umask(),
SUPPLEMENTAL_FILES_GLOB: '**/*',

@@ -5,0 +6,0 @@ UI_CACHE_FOLDER: 'ui',

5

lib/load-ui.js

@@ -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",

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