fluidattacks-core 4.3.0__tar.gz → 4.3.1__tar.gz
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.
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/PKG-INFO +2 -1
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/serializers/syntax.py +4 -1
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core.egg-info/PKG-INFO +2 -1
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core.egg-info/requires.txt +1 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/pyproject.toml +3 -1
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/README.md +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/aio/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/aio/processes.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/aio/runners.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/aio/tasks.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/aio/threads.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/authz/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/authz/py.typed +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/authz/types.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/bugsnag/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/bugsnag/client.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/cpg/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/cpg/joern.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/filesystem/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/filesystem/defaults.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/classes.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/clone.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/codecommit_utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/constants.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/delete_files.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/download_file.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/download_repo.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/https_utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/py.typed +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/remote.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/ssh_utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/warp.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/http/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/http/client.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/http/validations.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/filters.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/formatters.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/handlers.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/presets.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/sources/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/sources/types.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/sources/utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/py.typed +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/sarif/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/semver/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/semver/match_versions.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/serializers/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/serializers/snippet.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core.egg-info/SOURCES.txt +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core.egg-info/dependency_links.txt +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core.egg-info/top_level.txt +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/setup.cfg +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/test/test_aio_tasks.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/test/test_extract_db.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/test/test_language_detection.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/test/test_logging.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/test/test_make_snippet.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/test/test_match_versions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fluidattacks-core
|
|
3
|
-
Version: 4.3.
|
|
3
|
+
Version: 4.3.1
|
|
4
4
|
Summary: Fluid Attacks Core Library
|
|
5
5
|
Author-email: Development <development@fluidattacks.com>
|
|
6
6
|
License: MPL-2.0
|
|
@@ -44,6 +44,7 @@ Requires-Dist: tree-sitter-typescript>=0.23.2; extra == "serializers"
|
|
|
44
44
|
Requires-Dist: tree-sitter-xml>=0.7.0; extra == "serializers"
|
|
45
45
|
Requires-Dist: tree-sitter-yaml>=0.7.0; extra == "serializers"
|
|
46
46
|
Requires-Dist: tree-sitter>=0.25.2; extra == "serializers"
|
|
47
|
+
Requires-Dist: tree-sitter-dart-orchard==0.3.2; extra == "serializers"
|
|
47
48
|
Provides-Extra: cpg
|
|
48
49
|
Requires-Dist: aioboto3>=13.3.0; extra == "cpg"
|
|
49
50
|
Requires-Dist: platformdirs>=4.3.8; extra == "cpg"
|
|
@@ -281,7 +281,10 @@ def get_language_from_path(path: str) -> str | None:
|
|
|
281
281
|
|
|
282
282
|
def get_language_for_tree(language: str) -> Language:
|
|
283
283
|
try:
|
|
284
|
-
|
|
284
|
+
parser_name = (
|
|
285
|
+
f"tree_sitter_{language}" if language != "dart" else "tree_sitter_dart_orchard"
|
|
286
|
+
)
|
|
287
|
+
language_module = importlib.import_module(parser_name)
|
|
285
288
|
function_name = {
|
|
286
289
|
"php": "language_php",
|
|
287
290
|
"tsx": "language_tsx",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fluidattacks-core
|
|
3
|
-
Version: 4.3.
|
|
3
|
+
Version: 4.3.1
|
|
4
4
|
Summary: Fluid Attacks Core Library
|
|
5
5
|
Author-email: Development <development@fluidattacks.com>
|
|
6
6
|
License: MPL-2.0
|
|
@@ -44,6 +44,7 @@ Requires-Dist: tree-sitter-typescript>=0.23.2; extra == "serializers"
|
|
|
44
44
|
Requires-Dist: tree-sitter-xml>=0.7.0; extra == "serializers"
|
|
45
45
|
Requires-Dist: tree-sitter-yaml>=0.7.0; extra == "serializers"
|
|
46
46
|
Requires-Dist: tree-sitter>=0.25.2; extra == "serializers"
|
|
47
|
+
Requires-Dist: tree-sitter-dart-orchard==0.3.2; extra == "serializers"
|
|
47
48
|
Provides-Extra: cpg
|
|
48
49
|
Requires-Dist: aioboto3>=13.3.0; extra == "cpg"
|
|
49
50
|
Requires-Dist: platformdirs>=4.3.8; extra == "cpg"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "fluidattacks-core"
|
|
3
|
-
version = "4.3.
|
|
3
|
+
version = "4.3.1"
|
|
4
4
|
description = "Fluid Attacks Core Library"
|
|
5
5
|
authors = [{ name = "Development", email = "development@fluidattacks.com" }]
|
|
6
6
|
license = { text = "MPL-2.0" }
|
|
@@ -50,6 +50,7 @@ serializers = [
|
|
|
50
50
|
"tree-sitter-xml>=0.7.0",
|
|
51
51
|
"tree-sitter-yaml>=0.7.0",
|
|
52
52
|
"tree-sitter>=0.25.2",
|
|
53
|
+
"tree-sitter-dart-orchard==0.3.2",
|
|
53
54
|
]
|
|
54
55
|
cpg = ["aioboto3>=13.3.0", "platformdirs>=4.3.8"]
|
|
55
56
|
filesystem = []
|
|
@@ -110,6 +111,7 @@ DEP002 = [
|
|
|
110
111
|
"tree-sitter-typescript",
|
|
111
112
|
"tree-sitter-xml",
|
|
112
113
|
"tree-sitter-yaml",
|
|
114
|
+
"tree-sitter-dart-orchard",
|
|
113
115
|
]
|
|
114
116
|
|
|
115
117
|
[build-system]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/filesystem/__init__.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/filesystem/defaults.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/git/codecommit_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/sources/__init__.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/sources/types.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/logging/sources/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/semver/match_versions.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/serializers/__init__.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core/serializers/snippet.py
RENAMED
|
File without changes
|
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.1}/fluidattacks_core.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|