Skip to content

Commit

Permalink
fix: downgrade tagify to solve npm dependencies conflict (#7670)
Browse files Browse the repository at this point in the history
* fix: uncheck pro checkbox unless on pro platform
* fix: downgrade tagify #7662
  • Loading branch information
stephanegigandet committed Nov 8, 2022
1 parent 052d7e8 commit 8ed94b8
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion cgi/user.pl
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
}

if ( ((defined $user_ref->{pro}) and ($user_ref->{pro}))
or ((defined $server_options{producers_platform}) and ($type eq "add")))
or (($server_options{producers_platform}) and ($type eq "add")))
{
if (($section_ref->{id} eq "professional") and $field_ref->{type} eq "checkbox") {
$field_ref->{value} = "on";
Expand Down
38 changes: 19 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "",
"main": "",
"private": true,
"browserslist": [
">0.05%", "defaults"
],
"scripts": {
"build": "gulp",
"build:watch": "gulp watch",
Expand Down Expand Up @@ -42,7 +45,7 @@
],
"dependencies": {
"@webcomponents/webcomponentsjs": "2.6.0",
"@yaireo/tagify": "^4.11.0",
"@yaireo/tagify": ">=4.12.0 <4.13.0",
"blueimp-file-upload": "^10.31.0",
"cropperjs": "^1.5.12",
"foundation-sites": "5.5.3",
Expand Down

0 comments on commit 8ed94b8

Please sign in to comment.