@cparra/apexdocs 3.21.2 → 3.21.4
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/dist/cli/generate.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var errorCollector = require('../error-collector-
|
|
4
|
+
var errorCollector = require('../error-collector-nqPsWTwH.js');
|
|
5
5
|
var cosmiconfig = require('cosmiconfig');
|
|
6
6
|
var yargs = require('yargs');
|
|
7
7
|
var E = require('fp-ts/Either');
|
|
@@ -3528,8 +3528,9 @@ function reflectBundle(lwcBundle, debugLogger) {
|
|
|
3528
3528
|
];
|
|
3529
3529
|
const options = {
|
|
3530
3530
|
ignoreAttributes: false,
|
|
3531
|
-
isArray: (_name,
|
|
3532
|
-
|
|
3531
|
+
isArray: (_name, jPathOrMatcher) => {
|
|
3532
|
+
const path = typeof jPathOrMatcher === "string" ? jPathOrMatcher : jPathOrMatcher.toString();
|
|
3533
|
+
return alwaysArray.indexOf(path) !== -1;
|
|
3533
3534
|
}
|
|
3534
3535
|
};
|
|
3535
3536
|
const result = new fastXmlParser.XMLParser(options).parse(lwcBundle.metadataContent);
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cparra/apexdocs",
|
|
3
|
-
"version": "3.21.
|
|
3
|
+
"version": "3.21.4",
|
|
4
4
|
"description": "Library with CLI capabilities to generate documentation for Salesforce Apex classes.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -96,14 +96,14 @@
|
|
|
96
96
|
]
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@cparra/apex-reflection": "2.24.
|
|
99
|
+
"@cparra/apex-reflection": "2.24.4",
|
|
100
100
|
"@salesforce/source-deploy-retrieve": "^12.20.1",
|
|
101
101
|
"@types/js-yaml": "^4.0.9",
|
|
102
102
|
"@types/yargs": "^17.0.32",
|
|
103
103
|
"chalk": "^4.1.2",
|
|
104
104
|
"cosmiconfig": "^9.0.0",
|
|
105
105
|
"cosmiconfig-typescript-loader": "^5.0.0",
|
|
106
|
-
"fast-xml-parser": "^5.
|
|
106
|
+
"fast-xml-parser": "^5.5.9",
|
|
107
107
|
"fp-ts": "^2.16.8",
|
|
108
108
|
"handlebars": "^4.7.8",
|
|
109
109
|
"js-yaml": "4.1.1",
|