web-documentation 1.0.14 → 1.0.16
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/build/deploy.js +1 -1
- package/package.json +16 -16
- package/source/index.ts +2 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "web-documentation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Declarative multilanguage documentation website generator",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"documentation",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"watch": "weboptimizer build --watch"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@aws-sdk/client-s3": "^3.
|
|
53
|
+
"@aws-sdk/client-s3": "^3.1050.0",
|
|
54
54
|
"@babel/eslint-parser": "^7.28.6",
|
|
55
55
|
"@babel/runtime": "^7.29.2",
|
|
56
56
|
"@eslint/js": "^10.0.1",
|
|
@@ -60,34 +60,34 @@
|
|
|
60
60
|
"@types/html-minifier": "^4.0.6",
|
|
61
61
|
"@types/jsdom": "^28.0.3",
|
|
62
62
|
"@types/marked": "^6.0.0",
|
|
63
|
-
"@types/node": "^25.
|
|
63
|
+
"@types/node": "^25.9.1",
|
|
64
64
|
"@types/unzipper": "^0.10.11",
|
|
65
65
|
"@types/webpack-env": "^1.18.8",
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^8.59.
|
|
67
|
-
"@typescript-eslint/parser": "^8.59.
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^8.59.4",
|
|
67
|
+
"@typescript-eslint/parser": "^8.59.4",
|
|
68
68
|
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
69
69
|
"archiver": "^8.0.0",
|
|
70
70
|
"bootstrap-icons": "^1.13.1",
|
|
71
|
-
"clientnode": "^4.0.
|
|
71
|
+
"clientnode": "^4.0.1400",
|
|
72
72
|
"css-loader": "^7.1.4",
|
|
73
73
|
"cssnano": "^8.0.1",
|
|
74
74
|
"default-gateway": "^7.2.2",
|
|
75
|
-
"errorreporter": "^1.0.
|
|
75
|
+
"errorreporter": "^1.0.340",
|
|
76
76
|
"eslint": "^10.4.0",
|
|
77
77
|
"eslint-config-google": "^0.14.0",
|
|
78
|
-
"eslint-plugin-jsdoc": "^
|
|
78
|
+
"eslint-plugin-jsdoc": "^63.0.0",
|
|
79
79
|
"favicons": "^7.2.0",
|
|
80
80
|
"favicons-webpack-plugin": "^6.0.1",
|
|
81
81
|
"highlight.js": "^11.11.1",
|
|
82
|
-
"jest": "30.
|
|
82
|
+
"jest": "30.4.2",
|
|
83
83
|
"jsdoc": "^4.0.5",
|
|
84
84
|
"legal-notes": "^1.0.29",
|
|
85
|
-
"marked": "^18.0.
|
|
85
|
+
"marked": "^18.0.4",
|
|
86
86
|
"marked-gfm-heading-id": "^4.1.4",
|
|
87
87
|
"marked-highlight": "^2.2.4",
|
|
88
88
|
"marked-xhtml": "^1.0.15",
|
|
89
89
|
"mini-css-extract-plugin": "^2.10.2",
|
|
90
|
-
"postcss": "^8.5.
|
|
90
|
+
"postcss": "^8.5.15",
|
|
91
91
|
"postcss-fontpath": "^1.0.0",
|
|
92
92
|
"postcss-import": "^16.1.1",
|
|
93
93
|
"postcss-loader": "^8.2.1",
|
|
@@ -99,16 +99,16 @@
|
|
|
99
99
|
"postcss-url": "^10.1.3",
|
|
100
100
|
"prop-types": "^15.8.1",
|
|
101
101
|
"style-loader": "^4.0.0",
|
|
102
|
-
"stylelint": "^17.
|
|
102
|
+
"stylelint": "^17.12.0",
|
|
103
103
|
"stylelint-config-standard": "^40.0.0",
|
|
104
|
-
"typescript-eslint": "^8.59.
|
|
104
|
+
"typescript-eslint": "^8.59.4",
|
|
105
105
|
"ua-parser-js": "^2.0.9",
|
|
106
106
|
"unzipper": "^0.12.3",
|
|
107
107
|
"web-component-wrapper": "^0.0.591",
|
|
108
|
-
"web-internationalization": "^2.0.
|
|
109
|
-
"weboptimizer": "^3.0.
|
|
108
|
+
"web-internationalization": "^2.0.26",
|
|
109
|
+
"weboptimizer": "^3.0.24",
|
|
110
110
|
"webpack-dev-server": "^5.2.4",
|
|
111
|
-
"website-utilities": "^1.0.
|
|
111
|
+
"website-utilities": "^1.0.421"
|
|
112
112
|
},
|
|
113
113
|
"engines": {
|
|
114
114
|
"node": ">=24",
|
package/source/index.ts
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
// region imports
|
|
20
20
|
import {
|
|
21
21
|
camelCaseToDelimited,
|
|
22
|
+
closest,
|
|
22
23
|
createDomNodes,
|
|
23
24
|
extend,
|
|
24
25
|
format,
|
|
25
26
|
getAll,
|
|
26
|
-
getParents,
|
|
27
27
|
getText,
|
|
28
28
|
globalContext,
|
|
29
29
|
Logger,
|
|
@@ -244,11 +244,7 @@ export class WebDocumentation<
|
|
|
244
244
|
let first = true
|
|
245
245
|
|
|
246
246
|
for (const domNode of this.headlineDomNodes ?? []) {
|
|
247
|
-
if (
|
|
248
|
-
(domNode as Partial<Element>).classList?.contains(
|
|
249
|
-
'show-example-wrapper'
|
|
250
|
-
)
|
|
251
|
-
))
|
|
247
|
+
if (closest(domNode, '.show-example-wrapper'))
|
|
252
248
|
return
|
|
253
249
|
|
|
254
250
|
const newLevel: number =
|