fluidattacks-core 4.3.0__py3-none-any.whl → 4.3.2__py3-none-any.whl

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.
@@ -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
- language_module = importlib.import_module(f"tree_sitter_{language}")
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.0
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==2.6.1
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"
@@ -45,8 +45,8 @@ fluidattacks_core/semver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
45
45
  fluidattacks_core/semver/match_versions.py,sha256=3L3C0TIVH0AtDpISvk5HHBXFSbJh5V7AINgfKEXYnYI,10157
46
46
  fluidattacks_core/serializers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  fluidattacks_core/serializers/snippet.py,sha256=e520pZHC-fsNuYVNY30A7TcSugvUlFL6xdr74j5aCDM,12780
48
- fluidattacks_core/serializers/syntax.py,sha256=DkRsdMyMNrL0pRfsOSVAx79K8F0AmjBk676_d_v7PjM,15908
49
- fluidattacks_core-4.3.0.dist-info/METADATA,sha256=g4N-6VQpds-l5_k99tEPNc5toW78Htw7gxmNtkdtbIQ,3248
50
- fluidattacks_core-4.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
51
- fluidattacks_core-4.3.0.dist-info/top_level.txt,sha256=m49ZyZ2zPQmDBxkSpjb20wr-ZbGVXdOMFBZrDiP5Lb8,18
52
- fluidattacks_core-4.3.0.dist-info/RECORD,,
48
+ fluidattacks_core/serializers/syntax.py,sha256=eSpoAmWLaVbd8tQ8ghHIvjJlCtieEf_IimonqLpIe3Y,16020
49
+ fluidattacks_core-4.3.2.dist-info/METADATA,sha256=6YrIiARBEUdJao_8kBkWXMgRexIRiBqwLKrtkEq6j5Q,3319
50
+ fluidattacks_core-4.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
51
+ fluidattacks_core-4.3.2.dist-info/top_level.txt,sha256=m49ZyZ2zPQmDBxkSpjb20wr-ZbGVXdOMFBZrDiP5Lb8,18
52
+ fluidattacks_core-4.3.2.dist-info/RECORD,,