@antora/playbook-builder 3.1.8 → 3.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,7 +107,7 @@ function registerFormats (convict) {
107
107
  if (!Array.isArray(val)) throw new Error('must be of type Array')
108
108
  },
109
109
  coerce: (val, config, name) => {
110
- const accum = config && config.has(name) ? config.get(name) : []
110
+ const accum = config?.has(name) ? config.get(name) : []
111
111
  val.split(',').forEach((v) => {
112
112
  if (~accum.indexOf(v)) return
113
113
  const match = accum.find((it) => it.constructor === Object && it.id === v)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antora/playbook-builder",
3
- "version": "3.1.8",
3
+ "version": "3.1.10",
4
4
  "description": "Builds a playbook object from user input for configuring successive documentation components in an Antora pipeline.",
5
5
  "license": "MPL-2.0",
6
6
  "author": "OpenDevise Inc. (https://opendevise.com)",
@@ -10,7 +10,10 @@
10
10
  "Hubert SABLONNIÈRE <hubert.sablonniere@gmail.com>"
11
11
  ],
12
12
  "homepage": "https://antora.org",
13
- "repository": "gitlab:antora/antora",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://gitlab.com/antora/antora.git"
16
+ },
14
17
  "bugs": {
15
18
  "url": "https://gitlab.com/antora/antora/issues"
16
19
  },