commonform-docx 8.1.0 → 9.1.0

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/templates/run.js +2 -0
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "commonform-docx",
3
3
  "description": "render Common Forms in Office Open XML (Microsoft Word .docx format)",
4
- "version": "8.1.0",
4
+ "version": "9.1.0",
5
5
  "author": "Kyle E. Mitchell <kyle@kemitchell.com> (http://kemitchell.com)",
6
6
  "bin": "bin.js",
7
7
  "dependencies": {
8
8
  "@kemitchell/docopt": "^1.0.0",
9
- "agreement-schedules-exhibits-numbering": "^2.0.0",
9
+ "agreement-schedules-exhibits-numbering": "^3.0.0",
10
10
  "commonform-flatten": "^2.1.0",
11
11
  "commonform-hash": "^1.0.0",
12
12
  "commonform-prepare-blanks": "^1.0.1",
13
13
  "commonform-smartify": "^1.0.1",
14
- "decimal-numbering": "^3.0.2",
14
+ "decimal-numbering": "^4.0.0",
15
15
  "has": "^1.0.3",
16
16
  "jszip": "^3.2.1",
17
17
  "number-to-words-en": "^1.2.5",
18
18
  "ooxml-signature-pages": "^3.0.2",
19
- "outline-numbering": "^2.0.0",
19
+ "outline-numbering": "^3.0.0",
20
20
  "plan-addenda-exhibits-numbering": "^3.0.0",
21
- "resolutions-schedules-exhibits-numbering": "^1.0.0"
21
+ "resolutions-schedules-exhibits-numbering": "^2.0.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "istanbul": "^0.4.0",
package/templates/run.js CHANGED
@@ -83,6 +83,8 @@ module.exports = function run (element, conspicuous, options) {
83
83
  )
84
84
  )
85
85
  }
86
+ } else if (has(element, 'link')) {
87
+ text = element.link
86
88
  } else {
87
89
  throw new Error('Invalid type: ' + JSON.stringify(element, null, 2))
88
90
  }