@argos-ci/util
Advanced tools
Comparing version 0.0.1-alpha.182 to 0.0.1-alpha.187
type ScreenshotMetadata = { | ||
url: string; | ||
viewport: { | ||
url?: string; | ||
viewport?: { | ||
width: number; | ||
height: number; | ||
}; | ||
colorScheme: "light" | "dark"; | ||
mediaType: "screen" | "print"; | ||
browser: { | ||
colorScheme?: "light" | "dark"; | ||
mediaType?: "screen" | "print"; | ||
test: { | ||
id?: string; | ||
title: string; | ||
titlePath: string[]; | ||
location?: { | ||
file: string; | ||
line: number; | ||
column: number; | ||
}; | ||
} | null; | ||
browser?: { | ||
name: string; | ||
@@ -11,0 +21,0 @@ version: string; |
/** | ||
* Get the top level of the git repository. | ||
*/ | ||
declare function getGitRepositoryPath(): Promise<string>; | ||
/** | ||
* Read the version from a package.json file. | ||
@@ -6,10 +10,20 @@ */ | ||
type ScreenshotMetadata = { | ||
url: string; | ||
viewport: { | ||
url?: string; | ||
viewport?: { | ||
width: number; | ||
height: number; | ||
}; | ||
colorScheme: "light" | "dark"; | ||
mediaType: "screen" | "print"; | ||
browser: { | ||
colorScheme?: "light" | "dark"; | ||
mediaType?: "screen" | "print"; | ||
test: { | ||
id?: string; | ||
title: string; | ||
titlePath: string[]; | ||
location?: { | ||
file: string; | ||
line: number; | ||
column: number; | ||
}; | ||
} | null; | ||
browser?: { | ||
name: string; | ||
@@ -46,2 +60,2 @@ version: string; | ||
}): string; | ||
export { readVersionFromPackage, ScreenshotMetadata, getMetadataPath, writeMetadata, readMetadata, getScreenshotName }; | ||
export { getGitRepositoryPath, readVersionFromPackage, ScreenshotMetadata, getMetadataPath, writeMetadata, readMetadata, getScreenshotName }; |
{ | ||
"name": "@argos-ci/util", | ||
"description": "Set of utilities used across all Argos SDKs", | ||
"version": "0.0.1-alpha.182+8a2e9db", | ||
"version": "0.0.1-alpha.187+b2cbada", | ||
"author": "Smooth Code", | ||
@@ -39,3 +39,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "8a2e9db6427071708c3d701a3230f228b1216893" | ||
"gitHead": "b2cbadab77b42d32946e7ed315290e9b9bd7d245" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
8488
201