@arcgis/codemod 5.2.0-next.93 → 5.2.0-next.94
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/{actions-Dk0H5GL7.js → actions-BH4cN_p7.js} +1 -1
- package/dist/{cli-BG_bddFb.js → cli-BzG3c735.js} +47 -47
- package/dist/cli.js +1 -1
- package/dist/{codemod-BL-hF1sl.js → codemod-BBVZQTCI.js} +3 -3
- package/dist/{codemod-CE3IeY9A.js → codemod-BtfCwWHO.js} +3 -3
- package/dist/{codemod-DVCFvVWI.js → codemod-C5PdcOsm.js} +3 -3
- package/dist/{codemod-BsJsUWX-.js → codemod-CLpYeFPx.js} +1 -1
- package/dist/{codemod-D0WPk--E.js → codemod-DKGGUmp7.js} +2 -2
- package/dist/{codemod-Ct065XZR.js → codemod-DvxMqyjF.js} +3 -3
- package/dist/{useProjectInstance-JISA7BBD.js → useProjectInstance-9qPLRrHD.js} +1 -1
- package/package.json +4 -4
|
@@ -29,9 +29,9 @@ var g = (t, e, s) => {
|
|
|
29
29
|
};
|
|
30
30
|
return n();
|
|
31
31
|
};
|
|
32
|
-
import { p } from "./actions-
|
|
33
|
-
import { c as k } from "./useProjectInstance-
|
|
34
|
-
import { p as C } from "./cli-
|
|
32
|
+
import { p } from "./actions-BH4cN_p7.js";
|
|
33
|
+
import { c as k } from "./useProjectInstance-9qPLRrHD.js";
|
|
34
|
+
import { p as C } from "./cli-BzG3c735.js";
|
|
35
35
|
const j = {
|
|
36
36
|
meta: {
|
|
37
37
|
needsTypeInformation: !1
|
|
@@ -30,7 +30,7 @@ var A = (t, e, n) => {
|
|
|
30
30
|
return a();
|
|
31
31
|
};
|
|
32
32
|
import { SyntaxKind as d, Node as i } from "ts-morph";
|
|
33
|
-
import { c as z } from "./useProjectInstance-
|
|
33
|
+
import { c as z } from "./useProjectInstance-9qPLRrHD.js";
|
|
34
34
|
const P = /* @__PURE__ */ new Map([
|
|
35
35
|
["arcgis-survey123", "arcgis-survey-123"],
|
|
36
36
|
["arrow-double-diagonal1", "arrow-double-diagonal-1"],
|
|
@@ -29,8 +29,8 @@ var T = (t, s, e) => {
|
|
|
29
29
|
};
|
|
30
30
|
return i();
|
|
31
31
|
};
|
|
32
|
-
import { c as N } from "./useProjectInstance-
|
|
33
|
-
import { g as B } from "./cli-
|
|
32
|
+
import { c as N } from "./useProjectInstance-9qPLRrHD.js";
|
|
33
|
+
import { g as B } from "./cli-BzG3c735.js";
|
|
34
34
|
import { SyntaxKind as f } from "ts-morph";
|
|
35
35
|
import { existsAsync as S } from "@arcgis/node-toolkit/file";
|
|
36
36
|
import { readFile as J, writeFile as K } from "node:fs/promises";
|
|
@@ -30,9 +30,9 @@ var D = (n, e, i) => {
|
|
|
30
30
|
return s();
|
|
31
31
|
};
|
|
32
32
|
import { log as y } from "@arcgis/toolkit/log";
|
|
33
|
-
import { c as V } from "./useProjectInstance-
|
|
33
|
+
import { c as V } from "./useProjectInstance-9qPLRrHD.js";
|
|
34
34
|
import { mergeApiExtractorConfigs as O, loadApiExtractorConfig as _ } from "@arcgis/api-extractor/extractor/config";
|
|
35
|
-
import { g as F } from "./cli-
|
|
35
|
+
import { g as F } from "./cli-BzG3c735.js";
|
|
36
36
|
import { writeFile as I, readFile as j } from "node:fs/promises";
|
|
37
37
|
import { join as W, relative as Q } from "node:path";
|
|
38
38
|
import { existsAsync as U } from "@arcgis/node-toolkit/file";
|
|
@@ -127,7 +127,7 @@ function M(n, e) {
|
|
|
127
127
|
return n.replace(/\{@link +([^}]+)\}/gu, (i, d) => {
|
|
128
128
|
const r = d.trim(), s = r.indexOf(" "), t = s === -1 ? r : r.slice(0, s), c = s === -1 ? "" : r.slice(s + 1).trim();
|
|
129
129
|
if (t.startsWith("https://"))
|
|
130
|
-
return c ? `[${c}](${t})
|
|
130
|
+
return c ? `[${c}](${t})` : t;
|
|
131
131
|
if (t.includes("!"))
|
|
132
132
|
return i;
|
|
133
133
|
const o = t.indexOf("#"), a = o === -1 ? t : t.slice(0, o), l = o === -1 ? void 0 : t.slice(o + 1), u = e[a] ?? Object.values(e).find(({ modulePath: N }) => N === a);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Project as p } from "ts-morph";
|
|
2
2
|
import { log as d } from "@arcgis/toolkit/log";
|
|
3
3
|
import { path as f } from "@arcgis/node-toolkit/path";
|
|
4
|
-
import { g as t, d as m } from "./cli-
|
|
4
|
+
import { g as t, d as m } from "./cli-BzG3c735.js";
|
|
5
5
|
import { styleText as s } from "node:util";
|
|
6
6
|
function y(e) {
|
|
7
7
|
if (t.project !== void 0)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/codemod",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.94",
|
|
4
4
|
"description": "A codemod toolkit for updating and modernizing ArcGIS Maps SDK for JavaScript codebases.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
],
|
|
12
12
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@arcgis/api-extractor": "5.2.0-next.
|
|
15
|
-
"@arcgis/node-toolkit": "5.2.0-next.
|
|
16
|
-
"@arcgis/toolkit": "5.2.0-next.
|
|
14
|
+
"@arcgis/api-extractor": "5.2.0-next.94",
|
|
15
|
+
"@arcgis/node-toolkit": "5.2.0-next.94",
|
|
16
|
+
"@arcgis/toolkit": "5.2.0-next.94",
|
|
17
17
|
"@commander-js/extra-typings": "^15.0.0",
|
|
18
18
|
"commander": "^15.0.0",
|
|
19
19
|
"tinyglobby": "~0.2.17",
|