Skip to content

Commit

Permalink
fix: reduce transparent version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenwienk committed Dec 23, 2024
1 parent ae47514 commit d8575dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ class App {
}

for (const [widgetId, widget] of Object.entries(appJson.widgets)) {
if (widget.transparent !== undefined && semver.lt(semver.coerce(appJson.compatibility), '12.3.0')) {
throw new Error(`App widgets transparent property requires a compatibility of at least >=12.3.0. (${this._path})`);
if (widget.transparent !== undefined && semver.lt(semver.coerce(appJson.compatibility), '12.1.0')) {
throw new Error(`App widgets transparent property requires a compatibility of at least >=12.1.0. (${this._path})`);
}

if (widget.deprecated !== undefined && semver.lt(semver.coerce(appJson.compatibility), '12.3.0')) {
Expand Down

0 comments on commit d8575dc

Please sign in to comment.