🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@arcgis/api-extractor

Package Overview
Maintainers
5
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcgis/api-extractor - npm Package Compare versions

Source code not available
We could not scan this package. Some page functionalities have been disabled
Comparing version
5.2.0-next.56
to
5.2.0-next.57
dist/ApiExtractor-BeRoMGxK.js

Sorry, the diff of this file is too big to display

+67
import { findPath as E } from "@arcgis/node-toolkit/file";
import { path as u, toSystemPathSeparators as S } from "@arcgis/node-toolkit/path";
import t from "typescript";
import { styleText as l } from "util";
const w = "@arcgis/api-extractor", P = "5.2.0-next.57", D = {
name: w,
version: P
};
let x;
function N(o) {
return x ??= t.createPrinter(), x.printNode(t.EmitHint.Unspecified, o, void 0);
}
function A(o, r) {
return o.pos !== -1 && o.end !== -1 && r !== void 0 ? o.getText(r) : N(o);
}
let h;
const g = D.name, m = {
getCurrentDirectory: process.cwd,
getCanonicalFileName: (o) => o,
getNewLine: () => t.sys.newLine
}, W = function(o, { file: r, node: n, scope: i, start: s, length: c }) {
this.errorCount += 1, process.exitCode = 1, s ??= n === void 0 || n.pos === -1 ? -1 : n.getStart(r, !1);
const a = n?.end ?? -1;
c ??= a === -1 ? -1 : Math.max(1, a - s);
const e = s >= 0 && c >= 0, d = !e && i !== void 0, p = {
category: t.DiagnosticCategory.Error,
code: e ? g : v,
file: d ? void 0 : r,
start: e ? s : 0,
length: e ? c : 0,
messageText: (d ? `${l("cyan", i, { stream: process.stderr })}: ` : "") + o + (e || n === void 0 ? "" : `
${A(n, r)}`)
}, f = t.formatDiagnosticsWithColorAndContext([p], m);
h ??= process.env.CI !== void 0 || l("red", "", { stream: process.stderr }) !== "";
const C = h ? f : f.replaceAll(F, ""), y = e ? C : C.replace(v.toString(), g);
this.config.context.logger.error(y);
}, v = 1490, F = /\x1B\[[0-9;]*m/gu, k = l("cyan", `[${g}] `);
function J(o = process.cwd(), r, n) {
const i = r === void 0 ? E("tsconfig.json", o) : u.resolve(o, r);
if (i === void 0)
throw Error(
`Unable to find ${S(String(r))}. Please make sure the file exists, or provide types.tsconfigPath option to useLumina()`
);
const s = t.readConfigFile(i, t.sys.readFile);
if (s.error !== void 0)
throw Error(t.formatDiagnosticsWithColorAndContext([s.error], m));
const c = s.config, a = n ? c : {
...c,
include: [],
files: [],
exclude: []
}, e = t.parseJsonConfigFileContent(a, t.sys, u.dirname(i)), d = 18002, p = n ? e.errors : e.errors.filter((f) => f.code !== d);
if (p.length > 0)
throw Error(t.formatDiagnosticsWithColorAndContext(p, m));
return {
configPath: i,
config: e
};
}
export {
m as a,
J as b,
W as e,
k as l,
D as p
};

Sorry, the diff of this file is too big to display

+3
-3

@@ -1,6 +0,6 @@

import "../typeScript-DaD1WvoI.js";
import "../worker-B139ZbPm.js";
import "../typeScript-CguHhBdv.js";
import "../worker-QvvfNeYx.js";
import "./processing/links.js";
import "typescript";
import { A as x } from "../ApiExtractor-DJhMDweu.js";
import { A as x } from "../ApiExtractor-BeRoMGxK.js";
import "@arcgis/toolkit/function";

@@ -7,0 +7,0 @@ export {

import "@arcgis/node-toolkit/file";
import "@arcgis/node-toolkit/path";
import "@arcgis/node-toolkit/packageJson";
import "../typeScript-DaD1WvoI.js";
import { l as C, m as E, r as d } from "../worker-B139ZbPm.js";
import "../typeScript-CguHhBdv.js";
import { l as C, m as E, r as d } from "../worker-QvvfNeYx.js";
import "./processing/links.js";

@@ -7,0 +7,0 @@ import "typescript";

@@ -1,4 +0,4 @@

import { l as O, m as J } from "../worker-B139ZbPm.js";
import { A as S, w as T } from "../ApiExtractor-DJhMDweu.js";
import { p as A, l as C } from "../typeScript-DaD1WvoI.js";
import { l as O, m as J } from "../worker-QvvfNeYx.js";
import { A as S, w as T } from "../ApiExtractor-BeRoMGxK.js";
import { p as A, l as C } from "../typeScript-CguHhBdv.js";
import { writeFile as M } from "node:fs/promises";

@@ -5,0 +5,0 @@ import { path as w } from "@arcgis/node-toolkit/path";

import "@arcgis/node-toolkit/file";
import "@arcgis/node-toolkit/path";
import "typescript";
import { b as m } from "../typeScript-DaD1WvoI.js";
import { b as m } from "../typeScript-CguHhBdv.js";
export {
m as loadTypeScriptConfig
};
{
"name": "@arcgis/api-extractor",
"version": "5.2.0-next.56",
"version": "5.2.0-next.57",
"description": "Documentation engine for WebGIS SDK packages",

@@ -56,4 +56,4 @@ "type": "module",

"tslib": "^2.8.1",
"@arcgis/node-toolkit": "5.2.0-next.56",
"@arcgis/toolkit": "5.2.0-next.56"
"@arcgis/node-toolkit": "5.2.0-next.57",
"@arcgis/toolkit": "5.2.0-next.57"
},

@@ -60,0 +60,0 @@ "peerDependencies": {

Sorry, the diff of this file is too big to display

import { findPath as E } from "@arcgis/node-toolkit/file";
import { path as u, toSystemPathSeparators as S } from "@arcgis/node-toolkit/path";
import t from "typescript";
import { styleText as l } from "util";
const w = "@arcgis/api-extractor", P = "5.2.0-next.56", D = {
name: w,
version: P
};
let x;
function N(o) {
return x ??= t.createPrinter(), x.printNode(t.EmitHint.Unspecified, o, void 0);
}
function A(o, r) {
return o.pos !== -1 && o.end !== -1 && r !== void 0 ? o.getText(r) : N(o);
}
let h;
const g = D.name, m = {
getCurrentDirectory: process.cwd,
getCanonicalFileName: (o) => o,
getNewLine: () => t.sys.newLine
}, W = function(o, { file: r, node: n, scope: i, start: s, length: c }) {
this.errorCount += 1, process.exitCode = 1, s ??= n === void 0 || n.pos === -1 ? -1 : n.getStart(r, !1);
const a = n?.end ?? -1;
c ??= a === -1 ? -1 : Math.max(1, a - s);
const e = s >= 0 && c >= 0, d = !e && i !== void 0, p = {
category: t.DiagnosticCategory.Error,
code: e ? g : v,
file: d ? void 0 : r,
start: e ? s : 0,
length: e ? c : 0,
messageText: (d ? `${l("cyan", i, { stream: process.stderr })}: ` : "") + o + (e || n === void 0 ? "" : `
${A(n, r)}`)
}, f = t.formatDiagnosticsWithColorAndContext([p], m);
h ??= process.env.CI !== void 0 || l("red", "", { stream: process.stderr }) !== "";
const C = h ? f : f.replaceAll(F, ""), y = e ? C : C.replace(v.toString(), g);
this.config.context.logger.error(y);
}, v = 1490, F = /\x1B\[[0-9;]*m/gu, k = l("cyan", `[${g}] `);
function J(o = process.cwd(), r, n) {
const i = r === void 0 ? E("tsconfig.json", o) : u.resolve(o, r);
if (i === void 0)
throw Error(
`Unable to find ${S(String(r))}. Please make sure the file exists, or provide types.tsconfigPath option to useLumina()`
);
const s = t.readConfigFile(i, t.sys.readFile);
if (s.error !== void 0)
throw Error(t.formatDiagnosticsWithColorAndContext([s.error], m));
const c = s.config, a = n ? c : {
...c,
include: [],
files: [],
exclude: []
}, e = t.parseJsonConfigFileContent(a, t.sys, u.dirname(i)), d = 18002, p = n ? e.errors : e.errors.filter((f) => f.code !== d);
if (p.length > 0)
throw Error(t.formatDiagnosticsWithColorAndContext(p, m));
return {
configPath: i,
config: e
};
}
export {
m as a,
J as b,
W as e,
k as l,
D as p
};

Sorry, the diff of this file is too big to display