ds-server-lib 7.0.0a3__tar.gz → 7.0.0a4__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.
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/PKG-INFO +2 -2
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/pyproject.toml +2 -2
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/ds_server_lib.egg-info/PKG-INFO +2 -2
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/ds_server_lib.egg-info/requires.txt +1 -1
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/server_lib/simple.py +0 -20
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/README.md +0 -0
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/setup.cfg +0 -0
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/ds_server_lib.egg-info/SOURCES.txt +0 -0
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/ds_server_lib.egg-info/dependency_links.txt +0 -0
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/ds_server_lib.egg-info/top_level.txt +0 -0
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/server_lib/__init__.py +0 -0
- {ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/tests/test_simple.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ds-server-lib
|
|
3
|
-
Version: 7.0.
|
|
3
|
+
Version: 7.0.0a4
|
|
4
4
|
Summary: Server library for owasp depscan
|
|
5
5
|
Author-email: Team AppThreat <cloud@appthreat.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -23,7 +23,7 @@ Requires-Dist: appthreat-vulnerability-db<8,>=7.0.7
|
|
|
23
23
|
Requires-Dist: custom-json-diff~=2.1.6
|
|
24
24
|
Requires-Dist: quart~=0.20
|
|
25
25
|
Requires-Dist: rich~=15.0.0
|
|
26
|
-
Requires-Dist: ds-analysis-lib~=7.0.
|
|
26
|
+
Requires-Dist: ds-analysis-lib~=7.0.0a4
|
|
27
27
|
Provides-Extra: dev
|
|
28
28
|
Requires-Dist: pytest~=9.2.0; extra == "dev"
|
|
29
29
|
Requires-Dist: pytest-asyncio~=1.4.1; extra == "dev"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ds-server-lib"
|
|
3
|
-
version = "7.0.
|
|
3
|
+
version = "7.0.0a4"
|
|
4
4
|
description = "Server library for owasp depscan"
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "Team AppThreat", email = "cloud@appthreat.com"},
|
|
@@ -10,7 +10,7 @@ dependencies = [
|
|
|
10
10
|
"custom-json-diff~=2.1.6",
|
|
11
11
|
"quart~=0.20",
|
|
12
12
|
"rich~=15.0.0",
|
|
13
|
-
"ds-analysis-lib~=7.0.
|
|
13
|
+
"ds-analysis-lib~=7.0.0a4"
|
|
14
14
|
]
|
|
15
15
|
|
|
16
16
|
requires-python = ">=3.11"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ds-server-lib
|
|
3
|
-
Version: 7.0.
|
|
3
|
+
Version: 7.0.0a4
|
|
4
4
|
Summary: Server library for owasp depscan
|
|
5
5
|
Author-email: Team AppThreat <cloud@appthreat.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -23,7 +23,7 @@ Requires-Dist: appthreat-vulnerability-db<8,>=7.0.7
|
|
|
23
23
|
Requires-Dist: custom-json-diff~=2.1.6
|
|
24
24
|
Requires-Dist: quart~=0.20
|
|
25
25
|
Requires-Dist: rich~=15.0.0
|
|
26
|
-
Requires-Dist: ds-analysis-lib~=7.0.
|
|
26
|
+
Requires-Dist: ds-analysis-lib~=7.0.0a4
|
|
27
27
|
Provides-Extra: dev
|
|
28
28
|
Requires-Dist: pytest~=9.2.0; extra == "dev"
|
|
29
29
|
Requires-Dist: pytest-asyncio~=1.4.1; extra == "dev"
|
|
@@ -14,7 +14,6 @@ from urllib.parse import urlparse, urlsplit
|
|
|
14
14
|
from analysis_lib.config import SUPPORTED_BOM_PROFILES
|
|
15
15
|
from custom_json_diff.lib.utils import file_write
|
|
16
16
|
from quart import Quart, request
|
|
17
|
-
from rich.console import Console
|
|
18
17
|
from server_lib import ServerOptions
|
|
19
18
|
from vdb.lib import search
|
|
20
19
|
|
|
@@ -35,25 +34,6 @@ def get_allowed_git_schemes(default_schemes=None):
|
|
|
35
34
|
allowed_git_schemes = get_allowed_git_schemes()
|
|
36
35
|
|
|
37
36
|
|
|
38
|
-
def _color_system():
|
|
39
|
-
"""Translate CONSOLE_COLOR_SCHEME into a rich-acceptable value.
|
|
40
|
-
|
|
41
|
-
rich only accepts its fixed color-system names (or None); anything else
|
|
42
|
-
raises KeyError while constructing the Console, so an unrecognized value
|
|
43
|
-
(e.g. a typo) falls back to None for auto-detection.
|
|
44
|
-
"""
|
|
45
|
-
scheme = os.getenv("CONSOLE_COLOR_SCHEME", "256")
|
|
46
|
-
return scheme if scheme in ("auto", "standard", "256", "truecolor", "windows") else None
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
console = Console(
|
|
50
|
-
log_time=False,
|
|
51
|
-
log_path=False,
|
|
52
|
-
color_system=_color_system(),
|
|
53
|
-
tab_size=2,
|
|
54
|
-
emoji=os.getenv("DISABLE_CONSOLE_EMOJI", "") not in ("true", "1"),
|
|
55
|
-
)
|
|
56
|
-
|
|
57
37
|
MAX_PROJECT_TYPES = 32
|
|
58
38
|
MAX_PROJECT_TYPE_LENGTH = 64
|
|
59
39
|
DEFAULT_MAX_BOM_FILE_SIZE = 100 * 1024 * 1024
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ds_server_lib-7.0.0a3 → ds_server_lib-7.0.0a4}/src/ds_server_lib.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|