@argos-ci/util
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -15,2 +15,3 @@ type ScreenshotMetadata = { | ||
retry?: number; | ||
repeat?: number; | ||
location?: { | ||
@@ -34,2 +35,7 @@ file: string; | ||
}; | ||
// Metdata used to pass informations later removed from metadata. | ||
transient?: { | ||
threshold?: number; | ||
baseName?: string; | ||
}; | ||
}; | ||
@@ -46,3 +52,7 @@ /** | ||
}): string; | ||
export { getMetadataPath, getScreenshotName }; | ||
/** | ||
* Validates the threshold value. | ||
*/ | ||
declare function validateThreshold(threshold: number): void; | ||
export { getMetadataPath, getScreenshotName, validateThreshold }; | ||
export type { ScreenshotMetadata }; |
@@ -23,2 +23,3 @@ /** | ||
retry?: number; | ||
repeat?: number; | ||
location?: { | ||
@@ -42,2 +43,7 @@ file: string; | ||
}; | ||
// Metdata used to pass informations later removed from metadata. | ||
transient?: { | ||
threshold?: number; | ||
baseName?: string; | ||
}; | ||
}; | ||
@@ -68,2 +74,6 @@ /** | ||
declare function getPlaywrightTracePath(screenshotPath: string): Promise<string | null>; | ||
export { getGitRepositoryPath, readVersionFromPackage, ScreenshotMetadata, getMetadataPath, writeMetadata, readMetadata, getScreenshotName, getPlaywrightTracePath }; | ||
/** | ||
* Validates the threshold value. | ||
*/ | ||
declare function validateThreshold(threshold: number): void; | ||
export { getGitRepositoryPath, readVersionFromPackage, ScreenshotMetadata, getMetadataPath, writeMetadata, readMetadata, getScreenshotName, getPlaywrightTracePath, validateThreshold }; |
{ | ||
"name": "@argos-ci/util", | ||
"description": "Set of utilities used across all Argos SDKs", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"author": "Smooth Code", | ||
@@ -39,3 +39,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "fcadf37f2a9c4a65a3f4c082db56aff2576c8c16" | ||
"gitHead": "aca82cf842a6d8310611a8594c581794df85cbd8" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10220
259