Compare commits
	
		
			1 Commits
		
	
	
		
			v3.13.0
			...
			tiwarishub
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 600cfee239 | 
@ -51,7 +51,7 @@ export function getDownloadArchiveExtension() {
 | 
				
			|||||||
export function isVersionSatisfies(range: string, version: string): boolean {
 | 
					export function isVersionSatisfies(range: string, version: string): boolean {
 | 
				
			||||||
  if (semver.valid(range)) {
 | 
					  if (semver.valid(range)) {
 | 
				
			||||||
    // if full version with build digit is provided as a range (such as '1.2.3+4')
 | 
					    // if full version with build digit is provided as a range (such as '1.2.3+4')
 | 
				
			||||||
    // we should check for exact equal via compareBuild
 | 
					    // Tes we should check for exact equal via compareBuild
 | 
				
			||||||
    // since semver.satisfies doesn't handle 4th digit
 | 
					    // since semver.satisfies doesn't handle 4th digit
 | 
				
			||||||
    const semRange = semver.parse(range);
 | 
					    const semRange = semver.parse(range);
 | 
				
			||||||
    if (semRange && semRange.build?.length > 0) {
 | 
					    if (semRange && semRange.build?.length > 0) {
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user