1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Bump compatibility to caret-style for extension

This commit is contained in:
William Oldham 2024-02-14 09:20:06 +00:00 committed by GitHub
parent 12ce1d2993
commit 31dc7f4967
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
import { satisfies } from "semver";
const allowedExtensionRange = "~1.0.2";
const allowedExtensionRange = "^1.0.2";
export function isAllowedExtensionVersion(version: string): boolean {
return satisfies(version, allowedExtensionRange);