@arcgis/api-extractor 5.0.0 → 5.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/dist/{ApiExtractor-DIxlsiLk.js → ApiExtractor-Dj7ziyWY.js} +2 -2
- package/dist/extractor/ApiExtractor.js +3 -3
- package/dist/extractor/config.js +2 -2
- package/dist/{typeScript-Dsim-EQC.js → typeScript-BVhRPmQG.js} +1 -1
- package/dist/utils/createIndex.js +32 -30
- package/dist/vite/plugin.js +3 -3
- package/dist/vite/typeScript.js +1 -1
- package/dist/{worker-1ouniZM0.js → worker-C7OMd603.js} +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as H, a as se, e as Re, p as fe } from "./typeScript-
|
|
2
|
-
import { a as be, o as Me, t as Ge, b as De, c as Le, e as Oe, d as _, p as Ne, f as Be, i as me, g as We, h as Ue, j as ze, k as je, n as He, r as Je } from "./worker-
|
|
1
|
+
import { l as H, a as se, e as Re, p as fe } from "./typeScript-BVhRPmQG.js";
|
|
2
|
+
import { a as be, o as Me, t as Ge, b as De, c as Le, e as Oe, d as _, p as Ne, f as Be, i as me, g as We, h as Ue, j as ze, k as je, n as He, r as Je } from "./worker-C7OMd603.js";
|
|
3
3
|
import { getViewUrl as Ve, postProcessDeprecated as ee, postProcessDescription as G, postProcessDocsTags as V, resolveJsDocLink as Xe } from "./extractor/processing/links.js";
|
|
4
4
|
import E from "typescript";
|
|
5
5
|
import { path as N, toPosixPathSeparators as Ye } from "@arcgis/components-build-utils";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../typeScript-
|
|
2
|
-
import "../worker-
|
|
1
|
+
import "../typeScript-BVhRPmQG.js";
|
|
2
|
+
import "../worker-C7OMd603.js";
|
|
3
3
|
import "./processing/links.js";
|
|
4
4
|
import "typescript";
|
|
5
|
-
import { A as x } from "../ApiExtractor-
|
|
5
|
+
import { A as x } from "../ApiExtractor-Dj7ziyWY.js";
|
|
6
6
|
import "@arcgis/toolkit/function";
|
|
7
7
|
export {
|
|
8
8
|
x as ApiExtractor
|
package/dist/extractor/config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@arcgis/components-build-utils";
|
|
2
|
-
import "../typeScript-
|
|
3
|
-
import { l as n, m as A, r as C } from "../worker-
|
|
2
|
+
import "../typeScript-BVhRPmQG.js";
|
|
3
|
+
import { l as n, m as A, r as C } from "../worker-C7OMd603.js";
|
|
4
4
|
import "./processing/links.js";
|
|
5
5
|
import "typescript";
|
|
6
6
|
import "fs/promises";
|
|
@@ -2,7 +2,7 @@ import { findPath as v, path as C, toSystemPathSeparators as y } from "@arcgis/c
|
|
|
2
2
|
import t from "typescript";
|
|
3
3
|
import E, { supportsColorStderr as S } from "chalk";
|
|
4
4
|
import { styleText as w } from "util";
|
|
5
|
-
const P = "@arcgis/api-extractor", D = "5.0.
|
|
5
|
+
const P = "@arcgis/api-extractor", D = "5.0.1", N = {
|
|
6
6
|
name: P,
|
|
7
7
|
version: D
|
|
8
8
|
};
|
|
@@ -4,15 +4,15 @@ function y(t) {
|
|
|
4
4
|
}
|
|
5
5
|
function g(t) {
|
|
6
6
|
const n = /* @__PURE__ */ new Map();
|
|
7
|
-
for (let
|
|
8
|
-
const
|
|
7
|
+
for (let o = 0; o < t.length; ++o) {
|
|
8
|
+
const s = t[o];
|
|
9
9
|
let i, a = !1;
|
|
10
|
-
for (let l = 0; l <
|
|
11
|
-
const e =
|
|
12
|
-
a ||= e.docsTags?.some((
|
|
10
|
+
for (let l = 0; l < s.declarations.length; ++l) {
|
|
11
|
+
const e = s.declarations[l];
|
|
12
|
+
a ||= e.docsTags?.some((c) => c.name === "internal") === !0, (e.kind === "class" || e.kind === "mixin") && (i = e);
|
|
13
13
|
}
|
|
14
|
-
a || n.set(
|
|
15
|
-
apiModule:
|
|
14
|
+
a || n.set(s.path, {
|
|
15
|
+
apiModule: s,
|
|
16
16
|
classLike: i,
|
|
17
17
|
ancestors: void 0,
|
|
18
18
|
children: void 0
|
|
@@ -25,50 +25,52 @@ function k(t) {
|
|
|
25
25
|
p(n, t);
|
|
26
26
|
}
|
|
27
27
|
function p(t, n) {
|
|
28
|
-
const
|
|
29
|
-
if (
|
|
28
|
+
const o = t.classLike;
|
|
29
|
+
if (o === void 0)
|
|
30
30
|
return;
|
|
31
|
-
const
|
|
32
|
-
if (!(t.ancestors !== void 0 ||
|
|
33
|
-
if (t.ancestors ??= [],
|
|
34
|
-
for (let a =
|
|
35
|
-
d(
|
|
36
|
-
|
|
31
|
+
const s = o;
|
|
32
|
+
if (!(t.ancestors !== void 0 || o.mixins === void 0 && s.superclass === void 0)) {
|
|
33
|
+
if (t.ancestors ??= [], o.mixins !== void 0)
|
|
34
|
+
for (let a = o.mixins.length - 1; a >= 0; --a)
|
|
35
|
+
d(o.mixins[a], t, n);
|
|
36
|
+
s.superclass !== void 0 && v(s.superclass, t, n);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
function d(t, n,
|
|
39
|
+
function d(t, n, o) {
|
|
40
40
|
if (t.module !== void 0 && t.package === void 0) {
|
|
41
|
-
const
|
|
42
|
-
|
|
41
|
+
const s = o.get(t.module);
|
|
42
|
+
if (s === void 0)
|
|
43
|
+
return;
|
|
44
|
+
p(s, o), s.children ??= [], s.children.push(n);
|
|
43
45
|
}
|
|
44
46
|
}
|
|
45
|
-
function v(t, n,
|
|
47
|
+
function v(t, n, o) {
|
|
46
48
|
if (!(t.module !== void 0 && t.package === void 0)) {
|
|
47
49
|
n.ancestors.push(t);
|
|
48
50
|
return;
|
|
49
51
|
}
|
|
50
|
-
const i =
|
|
52
|
+
const i = o.get(t.module);
|
|
51
53
|
if (i === void 0)
|
|
52
54
|
return;
|
|
53
|
-
p(i,
|
|
55
|
+
p(i, o), i.children ??= [], i.children.push(n);
|
|
54
56
|
const a = i.classLike;
|
|
55
57
|
if (a.kind === "mixin" && a.name !== t.name && t.name !== "default") {
|
|
56
58
|
const e = i.apiModule.declarations;
|
|
57
|
-
for (let
|
|
58
|
-
const f = e[
|
|
59
|
+
for (let c = 0; c < e.length; ++c) {
|
|
60
|
+
const f = e[c];
|
|
59
61
|
if (f.name === t.name) {
|
|
60
62
|
const m = f;
|
|
61
63
|
for (let u = m.supertypes.length - 1; u >= 1; --u) {
|
|
62
|
-
const
|
|
63
|
-
name:
|
|
64
|
+
const r = m.supertypes[u], h = r.module === void 0 && r.package === void 0 ? {
|
|
65
|
+
name: r.name,
|
|
64
66
|
module: t.module,
|
|
65
67
|
package: void 0,
|
|
66
|
-
viewUrl:
|
|
67
|
-
typeArguments:
|
|
68
|
-
} :
|
|
69
|
-
d(h, n,
|
|
68
|
+
viewUrl: r.viewUrl,
|
|
69
|
+
typeArguments: r.typeArguments
|
|
70
|
+
} : r;
|
|
71
|
+
d(h, n, o);
|
|
70
72
|
}
|
|
71
|
-
v(m.supertypes[0], n,
|
|
73
|
+
v(m.supertypes[0], n, o);
|
|
72
74
|
break;
|
|
73
75
|
}
|
|
74
76
|
}
|
package/dist/vite/plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as T, m as J } from "../worker-
|
|
2
|
-
import { A as b, w as S } from "../ApiExtractor-
|
|
3
|
-
import { p as k, l as A } from "../typeScript-
|
|
1
|
+
import { l as T, m as J } from "../worker-C7OMd603.js";
|
|
2
|
+
import { A as b, w as S } from "../ApiExtractor-Dj7ziyWY.js";
|
|
3
|
+
import { p as k, l as A } from "../typeScript-BVhRPmQG.js";
|
|
4
4
|
import { writeFile as C } from "node:fs/promises";
|
|
5
5
|
import { path as w } from "@arcgis/components-build-utils";
|
|
6
6
|
const M = k.name;
|
package/dist/vite/typeScript.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { path as $e, existsAsync as Qt, getCwd as Pi, retrievePackageJson as lt, toPosixPathSeparators as xi } from "@arcgis/components-build-utils";
|
|
2
|
-
import { b as Ri, p as Di, l as Li } from "./typeScript-
|
|
2
|
+
import { b as Ri, p as Di, l as Li } from "./typeScript-BVhRPmQG.js";
|
|
3
3
|
import { getDefaultBasePath as Yt, buildViewUrl as Ii, getViewUrl as Ge } from "./extractor/processing/links.js";
|
|
4
4
|
import o from "typescript";
|
|
5
5
|
import "fs/promises";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/api-extractor",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"chalk": "^5.4.1",
|
|
54
54
|
"commander": "^14.0.0",
|
|
55
55
|
"tslib": "^2.8.1",
|
|
56
|
-
"@arcgis/components-build-utils": "5.0.
|
|
57
|
-
"@arcgis/toolkit": "5.0.
|
|
56
|
+
"@arcgis/components-build-utils": "5.0.1",
|
|
57
|
+
"@arcgis/toolkit": "5.0.1"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"typescript": "~5.9.3",
|