@arcgis/api-extractor 6.0.0-next.2 → 6.0.0-next.3

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.
@@ -694,7 +694,8 @@ function gi(e) {
694
694
  e.static === !0,
695
695
  e.name,
696
696
  e.getterType?.text ?? e.type.text,
697
- o ? void 0 : e.type.text
697
+ o ? void 0 : e.type.text,
698
+ e.deprecated !== void 0
698
699
  );
699
700
  else {
700
701
  const r = n.dtsTypeOverride ?? e.type.text, l = i ? !1 : r.endsWith(" | undefined"), s = l ? r.slice(0, -12) : r;
@@ -6453,7 +6454,7 @@ class Ks {
6453
6454
  return n;
6454
6455
  }
6455
6456
  }
6456
- const zs = import.meta.url.includes("node_modules") ? Zt.version : "6.0.0-next.0";
6457
+ const zs = import.meta.url.includes("node_modules") ? Zt.version : "6.0.0-next.2";
6457
6458
  class ga {
6458
6459
  /**
6459
6460
  * @public
@@ -1,4 +1,4 @@
1
- import { f as l } from "../chunks/privateContext.js";
1
+ import { f as u } from "../chunks/privateContext.js";
2
2
  function m(t, r, i, e, n, o) {
3
3
  return `${`${r ? "export default " : "export "}${t ? "abstract " : ""}`}class ${i}${c(e)}${n === void 0 ? "" : ` extends ${n}`} {${o}}`;
4
4
  }
@@ -14,29 +14,29 @@ function c(t) {
14
14
  }
15
15
  function v(t, r, i, e, n) {
16
16
  const o = t ? "export default " : "export ";
17
- let $ = "";
17
+ let f = "";
18
18
  if (e !== void 0) {
19
- $ = " extends ";
20
- for (let f = 0; f < e.length; ++f)
21
- $ += l(e[f]), f < e.length - 1 && ($ += ", ");
19
+ f = " extends ";
20
+ for (let $ = 0; $ < e.length; ++$)
21
+ f += u(e[$]), $ < e.length - 1 && (f += ", ");
22
22
  }
23
- return `${o}interface ${r}${c(i)}${$} {${n}}`;
23
+ return `${o}interface ${r}${c(i)}${f} {${n}}`;
24
24
  }
25
- function g(t, r, i, e, n, o, $, f) {
26
- const s = `${t ? "protected " : ""}${r ? "abstract " : ""}${i ? "static " : ""}`, x = f === void 0 ? "" : `: ${f}`;
27
- return `${s}${n === "" ? "" : d(n)}${e ? "?" : ""}${c(o)}(${a($)})${x};`;
25
+ function g(t, r, i, e, n, o, f, $) {
26
+ const s = `${t ? "protected " : ""}${r ? "abstract " : ""}${i ? "static " : ""}`, d = $ === void 0 ? "" : `: ${$}`;
27
+ return `${s}${n === "" ? "" : a(n)}${e ? "?" : ""}${c(o)}(${l(f)})${d};`;
28
28
  }
29
- function d(t) {
30
- return u.test(t) || t.startsWith("[") ? t : `"${t.replaceAll("\\", "\\\\").replaceAll('"', '\\"')}"`;
29
+ function a(t) {
30
+ return x.test(t) || t.startsWith("[") ? t : `"${t.replaceAll("\\", "\\\\").replaceAll('"', '\\"')}"`;
31
31
  }
32
- const h = (t) => !u.test(t) && !t.startsWith("["), u = /^[A-Za-z_$][A-Za-z0-9_$]*$/u;
32
+ const h = (t) => !x.test(t) && !t.startsWith("["), x = /^[A-Za-z_$][A-Za-z0-9_$]*$/u;
33
33
  function b(t, r, i, e, n) {
34
- return `${t ? "export default " : "export "}function ${r}${c(i)}(${a(e)}): ${n};`;
34
+ return `${t ? "export default " : "export "}function ${r}${c(i)}(${l(e)}): ${n};`;
35
35
  }
36
36
  function A(t) {
37
- return `${c(t.typeParameters)}(${a(t.parameters)}): ${t.return.type.text}`;
37
+ return `${c(t.typeParameters)}(${l(t.parameters)}): ${t.return.type.text}`;
38
38
  }
39
- function a(t) {
39
+ function l(t) {
40
40
  if (t === void 0)
41
41
  return "";
42
42
  let r = "";
@@ -46,13 +46,14 @@ function a(t) {
46
46
  }
47
47
  return r;
48
48
  }
49
- function P(t, r, i, e, n, o, $, f) {
50
- return `${`${t ? "protected " : ""}${r ? "abstract " : i ? "static " : ""}${e ? "readonly " : n ? "accessor " : ""}`}${d($)}${o ? "?" : ""}: ${f};`;
49
+ function P(t, r, i, e, n, o, f, $) {
50
+ return `${`${t ? "protected " : ""}${r ? "abstract " : i ? "static " : ""}${e ? "readonly " : n ? "accessor " : ""}`}${a(f)}${o ? "?" : ""}: ${$};`;
51
51
  }
52
- function N(t, r, i, e, n, o) {
53
- const $ = `${t ? "protected " : ""}${r ? "abstract " : ""}${i ? "static " : ""}`, f = d(e), s = o === void 0 ? "" : `
54
- ${$}set ${f}(value: ${o});`;
55
- return `${$}get ${f}(): ${n};${s}`;
52
+ function N(t, r, i, e, n, o, f = !1) {
53
+ const $ = `${t ? "protected " : ""}${r ? "abstract " : ""}${i ? "static " : ""}`, s = a(e), d = o === void 0 ? "" : `
54
+ ${f ? `/** @deprecated */
55
+ ` : ""}${$}set ${s}(value: ${o});`;
56
+ return `${$}get ${s}(): ${n};${d}`;
56
57
  }
57
58
  function z(t, r, i) {
58
59
  const n = `${t ? "declare " : "export "}const ${r}: ${i};`;
@@ -63,13 +64,13 @@ function R(t, r, i, e) {
63
64
  let n = `export type ${t}${c(r)} = `;
64
65
  if (i !== void 0)
65
66
  for (let o = 0; o < i.length; ++o)
66
- n += l(i[o]), (o < i.length - 1 || e !== void 0) && (n += `
67
+ n += u(i[o]), (o < i.length - 1 || e !== void 0) && (n += `
67
68
  & `);
68
69
  return e !== void 0 && (n += e), n += ";", n;
69
70
  }
70
71
  export {
71
72
  h as isPropertyEscapeNeeded,
72
- d as maybeEscapePropertyName,
73
+ a as maybeEscapePropertyName,
73
74
  m as printClass,
74
75
  b as printFunction,
75
76
  N as printGetterSetter,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/api-extractor",
3
- "version": "6.0.0-next.2",
3
+ "version": "6.0.0-next.3",
4
4
  "description": "Documentation engine for WebGIS SDK packages",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -48,8 +48,8 @@
48
48
  ],
49
49
  "license": "SEE LICENSE IN LICENSE.md",
50
50
  "dependencies": {
51
- "@arcgis/node-toolkit": "6.0.0-next.2",
52
- "@arcgis/toolkit": "6.0.0-next.2",
51
+ "@arcgis/node-toolkit": "6.0.0-next.3",
52
+ "@arcgis/toolkit": "6.0.0-next.3",
53
53
  "@commander-js/extra-typings": "^15.0.0",
54
54
  "commander": "^15.0.0",
55
55
  "tslib": "^2.8.1"