mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-27 13:01:48 +01:00
Merge pull request #908 from movie-web/fix-extension-compat
Bump compatibility to caret-style for extension
This commit is contained in:
commit
90d8d2428f
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "movie-web",
|
"name": "movie-web",
|
||||||
"version": "4.4.1",
|
"version": "4.4.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "https://movie-web.app",
|
"homepage": "https://movie-web.app",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user