@arcgis/api-extractor 4.33.0-next.134 → 4.33.0-next.135
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/index.js +9 -8
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import a from "typescript";
|
|
2
2
|
import { path as x } from "@arcgis/components-build-utils";
|
|
3
3
|
import { mappedFind as m } from "@arcgis/components-utils";
|
|
4
|
-
const h = "@arcgis/api-extractor", g = "4.33.0-next.
|
|
4
|
+
const h = "@arcgis/api-extractor", g = "4.33.0-next.135", j = (e) => e.kind === "method", A = (e) => e.kind === "field";
|
|
5
5
|
function v(e, s) {
|
|
6
6
|
const t = e.path.split("/"), n = t.pop(), i = t.join("/"), o = s.path.split("/"), c = o.pop(), r = o.join("/");
|
|
7
7
|
return i === r ? n < c ? -1 : 1 : i.startsWith(r) ? 1 : r.startsWith(i) || i < r ? -1 : 1;
|
|
8
8
|
}
|
|
9
|
-
const C = "global:",
|
|
9
|
+
const C = "global:", T = /* @__PURE__ */ new Set([
|
|
10
10
|
"example",
|
|
11
11
|
"see",
|
|
12
12
|
"param",
|
|
@@ -92,7 +92,8 @@ class F {
|
|
|
92
92
|
t.docsTags.splice(i, 1);
|
|
93
93
|
const c = new Set(t.docsTags.map(({ name: r }) => r));
|
|
94
94
|
for (const r of o.docsTags ?? [])
|
|
95
|
-
c.has(r.name) && !
|
|
95
|
+
c.has(r.name) && !T.has(r.name) || t.docsTags.push(r);
|
|
96
|
+
t.docsTags.length === 0 && (t.docsTags = void 0);
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
99
|
const N = (e) => e.modifiers?.some?.(
|
|
@@ -101,10 +102,10 @@ const N = (e) => e.modifiers?.some?.(
|
|
|
101
102
|
function O(e, s, t) {
|
|
102
103
|
if (!s.default && "initializer" in e && e.initializer) {
|
|
103
104
|
const n = u(e.initializer);
|
|
104
|
-
|
|
105
|
+
y(n) && (s.default = n.getText(t));
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
|
-
const
|
|
108
|
+
const y = (e) => a.isLiteralExpression(e) || e.kind === a.SyntaxKind.TrueKeyword || e.kind === a.SyntaxKind.FalseKeyword || a.isPrefixUnaryExpression(e) && a.isLiteralExpression(e.operand);
|
|
108
109
|
function u(e) {
|
|
109
110
|
return a.isSatisfiesExpression(e) || a.isParenthesizedExpression(e) ? u(e.expression) : e;
|
|
110
111
|
}
|
|
@@ -193,7 +194,7 @@ function I(e = "", s = []) {
|
|
|
193
194
|
}).join("")}${i ? `
|
|
194
195
|
` : ""} `;
|
|
195
196
|
}
|
|
196
|
-
function
|
|
197
|
+
function V(e, s, t, n) {
|
|
197
198
|
const i = s.getSymbolAtLocation(e);
|
|
198
199
|
if (n ??= i === void 0 ? void 0 : S(s, i), n !== void 0) {
|
|
199
200
|
for (const o of n.docsTags) {
|
|
@@ -234,8 +235,8 @@ export {
|
|
|
234
235
|
N as hasIgnoredModifier,
|
|
235
236
|
j as isApiMethod,
|
|
236
237
|
A as isApiProperty,
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
T as multipleJsDocTags,
|
|
239
|
+
V as setApiDocFromJsDoc,
|
|
239
240
|
O as setDefaultFromInitializer,
|
|
240
241
|
S as symbolToDocs
|
|
241
242
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/api-extractor",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.135",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@arcgis/components-build-utils": "4.33.0-next.
|
|
18
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
17
|
+
"@arcgis/components-build-utils": "4.33.0-next.135",
|
|
18
|
+
"@arcgis/components-utils": "4.33.0-next.135",
|
|
19
19
|
"tslib": "^2.8.1",
|
|
20
20
|
"typescript": "~5.8.3"
|
|
21
21
|
}
|