Merge pull request #908 from movie-web/fix-extension-compat

Bump compatibility to caret-style for extension
This commit is contained in:
William Oldham 2024-02-14 10:19:03 +00:00 committed by GitHub
commit 90d8d2428f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "movie-web",
"version": "4.4.1",
"version": "4.4.2",
"private": true,
"homepage": "https://movie-web.app",
"scripts": {

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);