fluidattacks-core 5.0.0__py3-none-any.whl → 5.0.1__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.
- fluidattacks_core/semver/match_versions.py +2 -0
- {fluidattacks_core-5.0.0.dist-info → fluidattacks_core-5.0.1.dist-info}/METADATA +1 -1
- {fluidattacks_core-5.0.0.dist-info → fluidattacks_core-5.0.1.dist-info}/RECORD +5 -5
- {fluidattacks_core-5.0.0.dist-info → fluidattacks_core-5.0.1.dist-info}/WHEEL +1 -1
- {fluidattacks_core-5.0.0.dist-info → fluidattacks_core-5.0.1.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import logging
|
|
2
2
|
import re
|
|
3
|
+
from functools import lru_cache
|
|
3
4
|
from itertools import (
|
|
4
5
|
zip_longest,
|
|
5
6
|
)
|
|
@@ -283,6 +284,7 @@ def match_version_ranges(dep_version: str, vulnerable_version: str) -> bool:
|
|
|
283
284
|
return False
|
|
284
285
|
|
|
285
286
|
|
|
287
|
+
@lru_cache(maxsize=100000)
|
|
286
288
|
def match_vulnerable_versions(dep_version: str, advisory_range: str | None) -> bool:
|
|
287
289
|
if advisory_range is None:
|
|
288
290
|
return False
|
|
@@ -40,11 +40,11 @@ fluidattacks_core/logging/sources/types.py,sha256=ial-ASN6e0EV7XeetDknjcMx_HjqL6
|
|
|
40
40
|
fluidattacks_core/logging/sources/utils.py,sha256=tMoEVqrkVtqMuYtjgG6ih0HOjHyN3tn9G7nZhNoo6IU,1102
|
|
41
41
|
fluidattacks_core/sarif/__init__.py,sha256=vZkbzafVeqRPEc_dzq6oevZuNp50NNyNGa_eS0oNXnc,101519
|
|
42
42
|
fluidattacks_core/semver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
|
-
fluidattacks_core/semver/match_versions.py,sha256=
|
|
43
|
+
fluidattacks_core/semver/match_versions.py,sha256=10Vc3aS5Q2WVeM6UYUNiAo8C4E7zFT4H64-ZPN-2-zY,10216
|
|
44
44
|
fluidattacks_core/serializers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
fluidattacks_core/serializers/snippet.py,sha256=e520pZHC-fsNuYVNY30A7TcSugvUlFL6xdr74j5aCDM,12780
|
|
46
46
|
fluidattacks_core/serializers/syntax.py,sha256=eSpoAmWLaVbd8tQ8ghHIvjJlCtieEf_IimonqLpIe3Y,16020
|
|
47
|
-
fluidattacks_core-5.0.
|
|
48
|
-
fluidattacks_core-5.0.
|
|
49
|
-
fluidattacks_core-5.0.
|
|
50
|
-
fluidattacks_core-5.0.
|
|
47
|
+
fluidattacks_core-5.0.1.dist-info/METADATA,sha256=E52TwLj71JPrMUmgZ24JrHHaDPhOH_uTbWAd9dyTPfw,3453
|
|
48
|
+
fluidattacks_core-5.0.1.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
49
|
+
fluidattacks_core-5.0.1.dist-info/top_level.txt,sha256=m49ZyZ2zPQmDBxkSpjb20wr-ZbGVXdOMFBZrDiP5Lb8,18
|
|
50
|
+
fluidattacks_core-5.0.1.dist-info/RECORD,,
|
|
File without changes
|