@appthreat/atom 2.1.15 → 2.1.17
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 +9 -5
- package/package.json +1 -1
- package/plugins/bin/atom +1 -1
- package/plugins/bin/atom.bat +1 -1
- package/plugins/composer/installed.php +6 -6
- package/plugins/lib/io.appthreat.atom-2.1.17-classpath.jar +0 -0
- package/plugins/lib/{io.appthreat.atom-2.1.15.jar → io.appthreat.atom-2.1.17.jar} +0 -0
- package/plugins/lib/{io.appthreat.c2cpg_3-2.3.6.jar → io.appthreat.c2cpg_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.dataflowengineoss_3-2.3.6.jar → io.appthreat.dataflowengineoss_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.javasrc2cpg_3-2.3.6.jar → io.appthreat.javasrc2cpg_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.jimple2cpg_3-2.3.6.jar → io.appthreat.jimple2cpg_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.jssrc2cpg_3-2.3.6.jar → io.appthreat.jssrc2cpg_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.php2atom_3-2.3.6.jar → io.appthreat.php2atom_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.pysrc2cpg_3-2.3.6.jar → io.appthreat.pysrc2cpg_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.ruby2atom_3-2.3.6.jar → io.appthreat.ruby2atom_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.semanticcpg_3-2.3.6.jar → io.appthreat.semanticcpg_3-2.3.8.jar} +0 -0
- package/plugins/lib/{io.appthreat.x2cpg_3-2.3.6.jar → io.appthreat.x2cpg_3-2.3.8.jar} +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem_make.out +5 -5
- package/plugins/lib/io.appthreat.atom-2.1.15-classpath.jar +0 -0
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { totalmem, platform as _platform } from "node:os";
|
|
4
4
|
import { dirname, join, delimiter } from "node:path";
|
|
5
5
|
import { readFileSync } from "node:fs";
|
|
6
6
|
|
|
@@ -20,11 +20,15 @@ export const LOG4J_CONFIG = join(dirName, "plugins", "log4j2.xml");
|
|
|
20
20
|
export const ATOM_HOME = join(dirName, "plugins");
|
|
21
21
|
export const APP_LIB_DIR = join(ATOM_HOME, "lib");
|
|
22
22
|
export const PHP_PARSER_BIN = join(ATOM_HOME, "bin", "php-parse");
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
// We need more memory for atom to work well
|
|
25
|
+
const maxMemoryGB = Math.floor((totalmem() * 0.8) / 1024 ** 3);
|
|
26
|
+
|
|
24
27
|
export const JVM_ARGS = "-XX:+UseG1GC -XX:+UseStringDeduplication";
|
|
25
|
-
export const JAVA_OPTS =
|
|
26
|
-
process.env
|
|
27
|
-
} -Xmx${
|
|
28
|
+
export const JAVA_OPTS =
|
|
29
|
+
process.env?.ATOM_JVM_ARGS ||
|
|
30
|
+
`${process.env.JAVA_OPTS || ""} -Xms2G -Xmx${maxMemoryGB}G ${JVM_ARGS}`;
|
|
31
|
+
|
|
28
32
|
export const APP_MAIN_CLASS = "io.appthreat.atom.Atom";
|
|
29
33
|
export const ATOM_VERSION = _version;
|
|
30
34
|
export const APP_CLASSPATH = join(
|
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-2.1.
|
|
363
|
+
declare -r app_classpath="$lib_dir/io.appthreat.atom-2.1.17-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-2.1.
|
|
43
|
+
set "APP_CLASSPATH=%APP_LIB_DIR%\io.appthreat.atom-2.1.17-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
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<?php return array(
|
|
2
2
|
'root' => array(
|
|
3
3
|
'name' => '__root__',
|
|
4
|
-
'pretty_version' => 'v2.1.
|
|
5
|
-
'version' => '2.1.
|
|
6
|
-
'reference' => '
|
|
4
|
+
'pretty_version' => 'v2.1.17',
|
|
5
|
+
'version' => '2.1.17.0',
|
|
6
|
+
'reference' => '56c75ffcf1dd7fc6b3512dbef42ce07fa67bed96',
|
|
7
7
|
'type' => 'library',
|
|
8
8
|
'install_path' => __DIR__ . '/../../',
|
|
9
9
|
'aliases' => array(),
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
),
|
|
12
12
|
'versions' => array(
|
|
13
13
|
'__root__' => array(
|
|
14
|
-
'pretty_version' => 'v2.1.
|
|
15
|
-
'version' => '2.1.
|
|
16
|
-
'reference' => '
|
|
14
|
+
'pretty_version' => 'v2.1.17',
|
|
15
|
+
'version' => '2.1.17.0',
|
|
16
|
+
'reference' => '56c75ffcf1dd7fc6b3512dbef42ce07fa67bed96',
|
|
17
17
|
'type' => 'library',
|
|
18
18
|
'install_path' => __DIR__ . '/../../',
|
|
19
19
|
'aliases' => array(),
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/plugins/lib/{io.appthreat.javasrc2cpg_3-2.3.6.jar → io.appthreat.javasrc2cpg_3-2.3.8.jar}
RENAMED
|
Binary file
|
package/plugins/lib/{io.appthreat.jimple2cpg_3-2.3.6.jar → io.appthreat.jimple2cpg_3-2.3.8.jar}
RENAMED
|
Binary file
|
package/plugins/lib/{io.appthreat.jssrc2cpg_3-2.3.6.jar → io.appthreat.jssrc2cpg_3-2.3.8.jar}
RENAMED
|
Binary file
|
|
Binary file
|
package/plugins/lib/{io.appthreat.pysrc2cpg_3-2.3.6.jar → io.appthreat.pysrc2cpg_3-2.3.8.jar}
RENAMED
|
Binary file
|
package/plugins/lib/{io.appthreat.ruby2atom_3-2.3.6.jar → io.appthreat.ruby2atom_3-2.3.8.jar}
RENAMED
|
Binary file
|
package/plugins/lib/{io.appthreat.semanticcpg_3-2.3.6.jar → io.appthreat.semanticcpg_3-2.3.8.jar}
RENAMED
|
Binary file
|
|
Binary file
|
package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem_make.out
CHANGED
|
@@ -3,16 +3,16 @@ current directory: /home/runner/work/atom/atom/wrapper/nodejs/plugins/rubyastgen
|
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20250425-2945-34lod sitelibdir\=./.gem.20250425-2945-34lod clean
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20250425-2945-34lod sitelibdir\=./.gem.20250425-2945-34lod
|
|
10
10
|
compiling cparse.c
|
|
11
11
|
linking shared-object racc/cparse.so
|
|
12
12
|
|
|
13
13
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
14
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
15
|
-
/usr/bin/install -c -m 0755 cparse.so ./.gem.
|
|
14
|
+
make DESTDIR\= sitearchdir\=./.gem.20250425-2945-34lod sitelibdir\=./.gem.20250425-2945-34lod install
|
|
15
|
+
/usr/bin/install -c -m 0755 cparse.so ./.gem.20250425-2945-34lod/racc
|
|
16
16
|
|
|
17
17
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
18
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
18
|
+
make DESTDIR\= sitearchdir\=./.gem.20250425-2945-34lod sitelibdir\=./.gem.20250425-2945-34lod clean
|
|
Binary file
|