fluidattacks-core 4.3.0__tar.gz → 4.3.2__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.2}/PKG-INFO +3 -2
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/serializers/syntax.py +4 -1
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core.egg-info/PKG-INFO +3 -2
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core.egg-info/requires.txt +2 -1
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/pyproject.toml +5 -2
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/README.md +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/aio/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/aio/processes.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/aio/runners.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/aio/tasks.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/aio/threads.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/authz/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/authz/py.typed +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/authz/types.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/bugsnag/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/bugsnag/client.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/cpg/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/cpg/joern.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/filesystem/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/filesystem/defaults.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/classes.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/clone.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/codecommit_utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/constants.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/delete_files.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/download_file.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/download_repo.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/https_utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/py.typed +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/remote.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/ssh_utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/git/warp.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/http/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/http/client.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/http/validations.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/filters.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/formatters.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/handlers.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/presets.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/sources/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/sources/types.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/sources/utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/utils.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/py.typed +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/sarif/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/semver/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/semver/match_versions.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/serializers/__init__.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/serializers/snippet.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core.egg-info/SOURCES.txt +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core.egg-info/dependency_links.txt +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core.egg-info/top_level.txt +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/setup.cfg +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/test/test_aio_tasks.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/test/test_extract_db.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/test/test_language_detection.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/test/test_logging.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/test/test_make_snippet.py +0 -0
- {fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/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.2
|
|
4
4
|
Summary: Fluid Attacks Core Library
|
|
5
5
|
Author-email: Development <development@fluidattacks.com>
|
|
6
6
|
License: MPL-2.0
|
|
@@ -16,7 +16,7 @@ Requires-Dist: aiohttp>=3.10.0
|
|
|
16
16
|
Requires-Dist: certifi>=2024.8.30
|
|
17
17
|
Requires-Dist: python-json-logger>=3.3.0
|
|
18
18
|
Requires-Dist: simplejson>=3.20.1
|
|
19
|
-
Requires-Dist: urllib3
|
|
19
|
+
Requires-Dist: urllib3>=2.6.1
|
|
20
20
|
Provides-Extra: aio
|
|
21
21
|
Requires-Dist: uvloop>=0.21.0; extra == "aio"
|
|
22
22
|
Provides-Extra: authz
|
|
@@ -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.2
|
|
4
4
|
Summary: Fluid Attacks Core Library
|
|
5
5
|
Author-email: Development <development@fluidattacks.com>
|
|
6
6
|
License: MPL-2.0
|
|
@@ -16,7 +16,7 @@ Requires-Dist: aiohttp>=3.10.0
|
|
|
16
16
|
Requires-Dist: certifi>=2024.8.30
|
|
17
17
|
Requires-Dist: python-json-logger>=3.3.0
|
|
18
18
|
Requires-Dist: simplejson>=3.20.1
|
|
19
|
-
Requires-Dist: urllib3
|
|
19
|
+
Requires-Dist: urllib3>=2.6.1
|
|
20
20
|
Provides-Extra: aio
|
|
21
21
|
Requires-Dist: uvloop>=0.21.0; extra == "aio"
|
|
22
22
|
Provides-Extra: authz
|
|
@@ -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"
|
|
@@ -2,7 +2,7 @@ aiohttp>=3.10.0
|
|
|
2
2
|
certifi>=2024.8.30
|
|
3
3
|
python-json-logger>=3.3.0
|
|
4
4
|
simplejson>=3.20.1
|
|
5
|
-
urllib3
|
|
5
|
+
urllib3>=2.6.1
|
|
6
6
|
|
|
7
7
|
[aio]
|
|
8
8
|
uvloop>=0.21.0
|
|
@@ -59,3 +59,4 @@ tree-sitter-typescript>=0.23.2
|
|
|
59
59
|
tree-sitter-xml>=0.7.0
|
|
60
60
|
tree-sitter-yaml>=0.7.0
|
|
61
61
|
tree-sitter>=0.25.2
|
|
62
|
+
tree-sitter-dart-orchard==0.3.2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "fluidattacks-core"
|
|
3
|
-
version = "4.3.
|
|
3
|
+
version = "4.3.2"
|
|
4
4
|
description = "Fluid Attacks Core Library"
|
|
5
5
|
authors = [{ name = "Development", email = "development@fluidattacks.com" }]
|
|
6
6
|
license = { text = "MPL-2.0" }
|
|
@@ -20,7 +20,7 @@ dependencies = [
|
|
|
20
20
|
"certifi>=2024.8.30",
|
|
21
21
|
"python-json-logger>=3.3.0",
|
|
22
22
|
"simplejson>=3.20.1",
|
|
23
|
-
"urllib3
|
|
23
|
+
"urllib3>=2.6.1",
|
|
24
24
|
]
|
|
25
25
|
|
|
26
26
|
[project.optional-dependencies]
|
|
@@ -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 = []
|
|
@@ -95,6 +96,7 @@ include = ["fluidattacks_core*"]
|
|
|
95
96
|
|
|
96
97
|
[tool.deptry]
|
|
97
98
|
extend_exclude = ["^test/.*"]
|
|
99
|
+
known_first_party = ["fluidattacks_core"]
|
|
98
100
|
|
|
99
101
|
[tool.deptry.per_rule_ignores]
|
|
100
102
|
DEP002 = [
|
|
@@ -110,6 +112,7 @@ DEP002 = [
|
|
|
110
112
|
"tree-sitter-typescript",
|
|
111
113
|
"tree-sitter-xml",
|
|
112
114
|
"tree-sitter-yaml",
|
|
115
|
+
"tree-sitter-dart-orchard",
|
|
113
116
|
]
|
|
114
117
|
|
|
115
118
|
[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.2}/fluidattacks_core/filesystem/__init__.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/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.2}/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.2}/fluidattacks_core/logging/sources/__init__.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/logging/sources/types.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/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.2}/fluidattacks_core/semver/match_versions.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/serializers/__init__.py
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core/serializers/snippet.py
RENAMED
|
File without changes
|
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/fluidattacks_core.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{fluidattacks_core-4.3.0 → fluidattacks_core-4.3.2}/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
|