@appthreat/atom 1.5.2 → 1.5.4
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/index.js +5 -2
- package/package.json +1 -1
- package/plugins/bin/atom +1 -1
- package/plugins/bin/atom.bat +1 -1
- package/plugins/lib/{com.lihaoyi.ujson_3-3.1.2.jar → com.lihaoyi.ujson_3-3.1.3.jar} +0 -0
- package/plugins/lib/{com.lihaoyi.upack_3-3.1.2.jar → com.lihaoyi.upack_3-3.1.3.jar} +0 -0
- package/plugins/lib/{com.lihaoyi.upickle-core_3-3.1.2.jar → com.lihaoyi.upickle-core_3-3.1.3.jar} +0 -0
- package/plugins/lib/{com.lihaoyi.upickle-implicits_3-3.1.2.jar → com.lihaoyi.upickle-implicits_3-3.1.3.jar} +0 -0
- package/plugins/lib/{com.lihaoyi.upickle_3-3.1.2.jar → com.lihaoyi.upickle_3-3.1.3.jar} +0 -0
- package/plugins/lib/io.appthreat.atom-1.5.4-classpath.jar +0 -0
- package/plugins/lib/io.appthreat.atom-1.5.4.jar +0 -0
- package/plugins/lib/{io.appthreat.c2cpg_3-0.0.20.jar → io.appthreat.c2cpg_3-0.5.4.jar} +0 -0
- package/plugins/lib/{io.appthreat.dataflowengineoss_3-0.0.20.jar → io.appthreat.dataflowengineoss_3-0.5.4.jar} +0 -0
- package/plugins/lib/{io.appthreat.javasrc2cpg_3-0.0.20.jar → io.appthreat.javasrc2cpg_3-0.5.4.jar} +0 -0
- package/plugins/lib/io.appthreat.jimple2cpg_3-0.5.4.jar +0 -0
- package/plugins/lib/{io.appthreat.jssrc2cpg_3-0.0.20.jar → io.appthreat.jssrc2cpg_3-0.5.4.jar} +0 -0
- package/plugins/lib/{io.appthreat.pysrc2cpg_3-0.0.20.jar → io.appthreat.pysrc2cpg_3-0.5.4.jar} +0 -0
- package/plugins/lib/{io.appthreat.semanticcpg_3-0.0.20.jar → io.appthreat.semanticcpg_3-0.5.4.jar} +0 -0
- package/plugins/lib/{io.appthreat.x2cpg_3-0.0.20.jar → io.appthreat.x2cpg_3-0.5.4.jar} +0 -0
- package/plugins/lib/{org.eclipse.cdt.core_8.2.0.202305101618.jar → org.eclipse.cdt.core_8.3.1.202309150117.jar} +0 -0
- package/plugins/lib/io.appthreat.atom-1.5.2-classpath.jar +0 -0
- package/plugins/lib/io.appthreat.atom-1.5.2.jar +0 -0
- package/plugins/lib/io.appthreat.jimple2cpg_3-0.0.20.jar +0 -0
package/index.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { freemem, platform as _platform } from "node:os";
|
|
4
4
|
import { dirname, join, delimiter } from "node:path";
|
|
5
|
+
import { readFileSync } from "node:fs";
|
|
6
|
+
|
|
5
7
|
import { spawnSync } from "node:child_process";
|
|
6
8
|
import { fileURLToPath } from "node:url";
|
|
7
9
|
import { detectJava } from "./utils.mjs";
|
|
@@ -12,7 +14,8 @@ if (!url.startsWith("file://")) {
|
|
|
12
14
|
url = new URL(`file://${import.meta.url}`).toString();
|
|
13
15
|
}
|
|
14
16
|
const dirName = import.meta ? dirname(fileURLToPath(url)) : __dirname;
|
|
15
|
-
|
|
17
|
+
const selfPJson = JSON.parse(readFileSync(join(dirName, "package.json")));
|
|
18
|
+
const _version = selfPJson.version;
|
|
16
19
|
export const LOG4J_CONFIG = join(dirName, "plugins", "log4j2.xml");
|
|
17
20
|
export const ATOM_HOME = join(dirName, "plugins");
|
|
18
21
|
export const APP_LIB_DIR = join(ATOM_HOME, "lib");
|
|
@@ -22,7 +25,7 @@ export const JAVA_OPTS = `${
|
|
|
22
25
|
process.env.JAVA_OPTS || ""
|
|
23
26
|
} -Xmx${freeMemoryGB}G ${JVM_ARGS}`;
|
|
24
27
|
export const APP_MAIN_CLASS = "io.appthreat.atom.Atom";
|
|
25
|
-
export const ATOM_VERSION =
|
|
28
|
+
export const ATOM_VERSION = _version;
|
|
26
29
|
export const APP_CLASSPATH = join(
|
|
27
30
|
APP_LIB_DIR,
|
|
28
31
|
`io.appthreat.atom-${ATOM_VERSION}-classpath.jar`
|
package/package.json
CHANGED
package/plugins/bin/atom
CHANGED
|
@@ -360,7 +360,7 @@ declare -r lib_dir="$(realpath "${app_home}/../lib")"
|
|
|
360
360
|
declare -a app_mainclass=(io.appthreat.atom.Atom)
|
|
361
361
|
|
|
362
362
|
declare -r script_conf_file="${app_home}/../conf/application.ini"
|
|
363
|
-
declare -r app_classpath="$lib_dir/io.appthreat.atom-1.5.
|
|
363
|
+
declare -r app_classpath="$lib_dir/io.appthreat.atom-1.5.4-classpath.jar"
|
|
364
364
|
|
|
365
365
|
# java_cmd is overrode in process_args when -java-home is used
|
|
366
366
|
declare java_cmd=$(get_java_cmd)
|
package/plugins/bin/atom.bat
CHANGED
|
@@ -40,7 +40,7 @@ rem "-J" is stripped, "-D" is left as is, and everything is appended to JAVA_OPT
|
|
|
40
40
|
set _JAVA_PARAMS=
|
|
41
41
|
set _APP_ARGS=
|
|
42
42
|
|
|
43
|
-
set "APP_CLASSPATH=%APP_LIB_DIR%\io.appthreat.atom-1.5.
|
|
43
|
+
set "APP_CLASSPATH=%APP_LIB_DIR%\io.appthreat.atom-1.5.4-classpath.jar"
|
|
44
44
|
set "APP_MAIN_CLASS=io.appthreat.atom.Atom"
|
|
45
45
|
set "SCRIPT_CONF_FILE=%APP_HOME%\conf\application.ini"
|
|
46
46
|
|
|
index a3f2da0..4f7d631 100644
|
|
|
Binary file
|
|
index 3ef255d..c4a1925 100644
|
|
|
Binary file
|
package/plugins/lib/{com.lihaoyi.upickle-core_3-3.1.2.jar → com.lihaoyi.upickle-core_3-3.1.3.jar}
RENAMED
|
index f8216f1..f157b6b 100644
|
|
|
Binary file
|
|
index b42aa5f..fd3f53e 100644
|
|
|
Binary file
|
|
index 7b0d37b..4e60f78 100644
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
index 507f18b..a8a5d4f 100644
|
|
|
Binary file
|
|
index 4bad59e..510bb93 100644
|
|
|
Binary file
|
package/plugins/lib/{io.appthreat.javasrc2cpg_3-0.0.20.jar → io.appthreat.javasrc2cpg_3-0.5.4.jar}
RENAMED
|
index 6ca78aa..75a64ab 100644
|
|
|
Binary file
|
|
Binary file
|
package/plugins/lib/{io.appthreat.jssrc2cpg_3-0.0.20.jar → io.appthreat.jssrc2cpg_3-0.5.4.jar}
RENAMED
|
index acb93a2..6d28bf9 100644
|
|
|
Binary file
|
package/plugins/lib/{io.appthreat.pysrc2cpg_3-0.0.20.jar → io.appthreat.pysrc2cpg_3-0.5.4.jar}
RENAMED
|
index 377b113..7f35642 100644
|
|
|
Binary file
|
package/plugins/lib/{io.appthreat.semanticcpg_3-0.0.20.jar → io.appthreat.semanticcpg_3-0.5.4.jar}
RENAMED
|
index 0c5b7a0..97c6cd9 100644
|
|
|
Binary file
|
|
index 88629f0..8d4d7eb 100644
|
|
|
Binary file
|
|
index a706497..56103ac 100644
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|