@honkit/asciidoc 3.7.0 → 4.0.1

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.
package/lib/toHTML.js CHANGED
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const asciidoctor_1 = __importDefault(require("asciidoctor"));
7
- const asciidoctor = asciidoctor_1.default();
7
+ const asciidoctor = (0, asciidoctor_1.default)();
8
8
  // Render Asciidoc to HTML (block)
9
9
  function asciidocToHTML(content) {
10
10
  return asciidoctor.convert(content, { safe: "server", attributes: { showtitle: "", icons: "font@" } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@honkit/asciidoc",
3
- "version": "3.7.0",
3
+ "version": "4.0.1",
4
4
  "description": "Parse AsciiDoc content for gitbook",
5
5
  "homepage": "https://github.com/honkit/honkit",
6
6
  "bugs": {
@@ -36,16 +36,16 @@
36
36
  "prepublish": "npm run --if-present build"
37
37
  },
38
38
  "dependencies": {
39
- "@honkit/html": "^3.7.0",
39
+ "@honkit/html": "^4.0.1",
40
40
  "asciidoctor": "^2.2.0",
41
41
  "lodash": "^4.13.1"
42
42
  },
43
43
  "devDependencies": {
44
- "mocha": "^8.2.1"
44
+ "mocha": "^10.0.0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
49
  "authors": "azu <azuciao@gmail.com>",
50
- "gitHead": "6091347c5a858a590bf0e2efb3716e56a22a626f"
50
+ "gitHead": "422e59c878e8c3a65c6b80818c579a45b6647d3c"
51
51
  }
package/CHANGELOG.md DELETED
@@ -1,137 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # 3.7.0 (2021-04-14)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * add prepublish script ([810fcc7](https://github.com/honkit/honkit/commit/810fcc7f45f3b1ab8d9527e8738f9861fdbe2c31))
12
-
13
-
14
-
15
-
16
-
17
- ## [3.6.17](https://github.com/honkit/honkit/compare/v3.6.16...v3.6.17) (2021-02-15)
18
-
19
- **Note:** Version bump only for package @honkit/asciidoc
20
-
21
-
22
-
23
-
24
-
25
- ## 3.6.16 (2020-12-15)
26
-
27
- **Note:** Version bump only for package @honkit/asciidoc
28
-
29
-
30
-
31
-
32
-
33
- ## 3.6.15 (2020-12-05)
34
-
35
- **Note:** Version bump only for package @honkit/asciidoc
36
-
37
-
38
-
39
-
40
-
41
- ## 3.6.14 (2020-11-29)
42
-
43
- **Note:** Version bump only for package @honkit/asciidoc
44
-
45
-
46
-
47
-
48
-
49
- ## 3.6.13 (2020-11-17)
50
-
51
-
52
- ### Bug Fixes
53
-
54
- * **honkit:** browser print layout in default theme ([#159](https://github.com/honkit/honkit/issues/159)) ([672cb9c](https://github.com/honkit/honkit/commit/672cb9c92f90dd154793b7a36d4dbf2654e7aec4))
55
-
56
-
57
-
58
-
59
-
60
- ## 3.6.12 (2020-11-13)
61
-
62
- **Note:** Version bump only for package @honkit/asciidoc
63
-
64
-
65
-
66
-
67
-
68
- ## [3.5.5](https://github.com/honkit/honkit/compare/v3.5.4...v3.5.5) (2020-08-02)
69
-
70
- **Note:** Version bump only for package @honkit/asciidoc
71
-
72
-
73
-
74
-
75
-
76
- ## [3.5.4](https://github.com/honkit/honkit/compare/v3.5.3...v3.5.4) (2020-08-01)
77
-
78
-
79
- ### Bug Fixes
80
-
81
- * add prepublish script ([810fcc7](https://github.com/honkit/honkit/commit/810fcc7f45f3b1ab8d9527e8738f9861fdbe2c31))
82
-
83
-
84
-
85
-
86
-
87
- ## [3.5.1](https://github.com/honkit/honkit/compare/v3.5.0...v3.5.1) (2020-07-04)
88
-
89
- **Note:** Version bump only for package @honkit/asciidoc
90
-
91
-
92
-
93
-
94
-
95
- ## [3.4.1](https://github.com/honkit/honkit/compare/v3.4.0...v3.4.1) (2020-06-29)
96
-
97
- **Note:** Version bump only for package @honkit/asciidoc
98
-
99
-
100
-
101
-
102
-
103
- ## [3.3.11](https://github.com/honkit/honkit/compare/v3.3.10...v3.3.11) (2020-06-27)
104
-
105
- **Note:** Version bump only for package @honkit/asciidoc
106
-
107
-
108
-
109
-
110
-
111
- ## [3.3.8](https://github.com/honkit/honkit/compare/v3.3.7...v3.3.8) (2020-06-18)
112
-
113
- **Note:** Version bump only for package @honkit/asciidoc
114
-
115
-
116
-
117
-
118
-
119
- ## [3.3.7](https://github.com/honkit/honkit/compare/v3.3.6...v3.3.7) (2020-06-18)
120
-
121
- **Note:** Version bump only for package @honkit/asciidoc
122
-
123
-
124
-
125
-
126
-
127
- ## [3.3.4](https://github.com/honkit/honkit/compare/v3.3.3...v3.3.4) (2020-06-17)
128
-
129
- **Note:** Version bump only for package @honkit/asciidoc
130
-
131
-
132
-
133
-
134
-
135
- # 3.3.0 (2020-06-14)
136
-
137
- **Note:** Version bump only for package @honkit/asciidoc