0.2.5 initial commit

Makefile incomplete
This commit is contained in:
Aiden McClelland
2020-11-23 13:44:28 -07:00
commit 95d3845906
503 changed files with 53448 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import { Injectable } from '@angular/core'
@Injectable({
providedIn: 'root',
})
export class Emver {
private e: typeof import('@start9labs/emver')
constructor () { }
async init () {
this.e = await import('@start9labs/emver')
}
compare (lhs: string, rhs: string): number {
return this.e.compare(lhs, rhs)
}
satisfies (version: string, range: string): boolean {
return this.e.satisfies(version, range)
}
}