@antora/cli 3.1.4 → 3.1.6

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.
@@ -39,7 +39,7 @@ function collectOptions (props, context = undefined) {
39
39
  if (default_ === null) {
40
40
  //option.mandatory = true
41
41
  option.description += ' (required)'
42
- } else if (default_ && default_.constructor !== Object) {
42
+ } else if (default_ && typeof default_ !== 'object') {
43
43
  option.default = default_
44
44
  }
45
45
  accum.push(option)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antora/cli",
3
- "version": "3.1.4",
3
+ "version": "3.1.6",
4
4
  "description": "The command line interface for Antora.",
5
5
  "license": "MPL-2.0",
6
6
  "author": "OpenDevise Inc. (https://opendevise.com)",
@@ -25,13 +25,13 @@
25
25
  "antora": "bin/antora"
26
26
  },
27
27
  "dependencies": {
28
- "@antora/logger": "3.1.4",
29
- "@antora/playbook-builder": "3.1.4",
28
+ "@antora/logger": "3.1.6",
29
+ "@antora/playbook-builder": "3.1.6",
30
30
  "@antora/user-require-helper": "~2.0",
31
31
  "commander": "~10.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@antora/site-publisher": "3.1.4",
34
+ "@antora/site-publisher": "3.1.6",
35
35
  "@asciidoctor/core": "~2.2",
36
36
  "convict": "~6.2",
37
37
  "kapok-js": "~0.10"