sdd-flow-kit 1.0.7 → 1.0.8
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.
package/package.json
CHANGED
|
@@ -54,7 +54,11 @@ def version_slug(prefix: str, version: str) -> str:
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
def search_keywords(prefix: str, version: str) -> list[str]:
|
|
57
|
-
|
|
57
|
+
# 搜索时强制带 V,并增加不带前缀的 V 兜底项:
|
|
58
|
+
# 1) ADI-V2.3.3
|
|
59
|
+
# 2) ADI_V2.3.3
|
|
60
|
+
# 3) V2.3.3
|
|
61
|
+
return [f"{prefix}-V{version}", f"{prefix}_V{version}", f"V{version}"]
|
|
58
62
|
|
|
59
63
|
|
|
60
64
|
def sanitize_filename(name: str) -> str:
|