Skip to content

Commit d0cf578

Browse files
committed
Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations
- Removed jQuery-Migrate as it seems to no longer be needed. - Removed a dead code section. - Fixed some deprecations detected by jQuery-Migrate. Ref: https://jquery.com/upgrade-guide/3.5/ Ref: https://github.com/gogs/gogs/search?q=repo-name-change-prompt Ref: https://github.com/go-gitea/gitea/search?q=repo-name-change-prompt Fixes: #9372
1 parent 12960b9 commit d0cf578

File tree

5 files changed

+115
-137
lines changed

5 files changed

+115
-137
lines changed

package-lock.json

Lines changed: 3 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@
2323
"fomantic-ui": "2.8.4",
2424
"highlight.js": "9.18.1",
2525
"imports-loader": "0.8.0",
26-
"jquery": "3.4.1",
26+
"jquery": "3.5.0",
2727
"jquery-datetimepicker": "2.5.21",
28-
"jquery-migrate": "3.1.0",
2928
"jquery.are-you-sure": "1.9.0",
3029
"less-loader": "5.0.0",
3130
"mini-css-extract-plugin": "0.9.0",

public/vendor/librejs.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
<tr>
1919
<td><a href="../js/jquery.js">jQuery</a></td>
2020
<td><a href="https://jquery.org/license/">MIT</a></td>
21-
<td><a href="https://code.jquery.com/jquery-3.4.1.min.js">jquery-3.4.1.min.js</a></td>
22-
</tr>
23-
<tr>
24-
<td><a href="../js/jquery.js">jQuery Migrate</a></td>
25-
<td><a href="https://jquery.org/license/">MIT</a></td>
26-
<td><a href="https://code.jquery.com/jquery-migrate-3.1.0.min.js">jquery-migrate-3.1.0.min.js</a></td>
21+
<td><a href="https://code.jquery.com/jquery-3.5.0.min.js">jquery-3.5.0.min.js</a></td>
2722
</tr>
2823
<tr>
2924
<td><a href="../fomantic/semantic.min.js">semantic.min.js</a></td>

0 commit comments

Comments
 (0)