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"; import { satisfies } from "semver";
const allowedExtensionRange = "~1.0.2"; const allowedExtensionRange = "^1.0.2";
export function isAllowedExtensionVersion(version: string): boolean { export function isAllowedExtensionVersion(version: string): boolean {
return satisfies(version, allowedExtensionRange); return satisfies(version, allowedExtensionRange);