Skip to content

Commit

Permalink
Dependencies security updates
Browse files Browse the repository at this point in the history
  • Loading branch information
zeldaroot committed Sep 30, 2021
1 parent 1e98bd4 commit d7aea73
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/locales/en/default/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ module.exports = {
"data-cinemaplayer-select-episode=\"[episode]\""
],
"iframe": 0,
"protected": 1,
"protected": 0,
"js": "https://CinemaPlayer.github.io/cinemaplayer.js"
},
"cinemaplayer": {
Expand Down
2 changes: 1 addition & 1 deletion config/locales/ru/default/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ module.exports = {
"data-cinemaplayer-select-episode=\"[episode]\""
],
"iframe": 0,
"protected": 1,
"protected": 0,
"js": "https://CinemaPlayer.github.io/cinemaplayer.js"
},
"cinemaplayer": {
Expand Down
2 changes: 1 addition & 1 deletion files/cinemapress.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// @description:zh CinemaPress电影信息自动完成按钮。
// @author CinemaPress
// @homepageURL https://github.com/CinemaPress
// @supportURL https://enota.club/
// @supportURL https://github.com/CinemaPress/CinemaPress/issues
// @icon https://avatars3.githubusercontent.com/u/16612433?s=200
// @license MIT
// @version 2021.01
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@
"nodemailer": "6.6.1",
"lru-cache": "6.0.0",
"adop": "2.3.0",
"object-path": "0.11.5",
"object-path": "0.11.8",
"react": "16.13.1",
"react-dom": "16.13.1",
"avataaars": "1.2.1",
"@dicebear/avatars": "4.4.1",
"@dicebear/avatars-avataaars-sprites": "4.4.1",
"node-telegram-bot-api": "0.53.0",
"diskusage": "1.1.3",
"axios": "0.21.1",
"axios": "0.21.4",
"mnemonist": "0.38.3",
"xml-js": "1.6.11",
"htmlparser2": "6.1.0",
Expand Down
4 changes: 2 additions & 2 deletions routes/cinemaplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ router.get('/:tab', function(req, res) {
: '';
var ip =
typeof req.query.ip !== 'undefined' &&
('' + req.query.ip).replace(/[^0-9.:]/g, '')
? ('' + req.query.ip).replace(/[^0-9.:]/g, '')
decodeURIComponent('' + req.query.ip).replace(/[^0-9.:]/g, '')
? decodeURIComponent('' + req.query.ip).replace(/[^0-9.:]/g, '')
: '';
var hash =
typeof req.query.hash !== 'undefined' &&
Expand Down
4 changes: 2 additions & 2 deletions themes/default/views/admin/includes/right.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<div class="sidebar-module">
<div class="btn-group-justified change-lang">
<a href="https://enota.club/forums/help-and-support-<% if (typeof language !== 'undefined') { %><%- language %><% } else { %>en<% } %>/" class="btn btn-default" target="_blank"><i
<a href="https://github.com/CinemaPress/CinemaPress/issues" class="btn btn-default" target="_blank"><i
class="fa fa-language"
style="float: left; font-size: 18px;opacity: .5;"></i> <%= __('Ошибки в переводе?') %></a>
</div>
Expand All @@ -14,7 +14,7 @@

<div class="row">
<div class="col-md-8 col-md-offset-2">
<a href="https://enota.club/forums/help-and-support-<% if (typeof language !== 'undefined') { %><%- language %><% } else { %>en<% } %>/" target="_blank" class="btn btn-block btn-default"
<a href="https://github.com/CinemaPress/CinemaPress/issues" target="_blank" class="btn btn-block btn-default"
style="text-align: center; display: inline-table; margin: 150px auto; padding: 20px">
<span class="fa fa-question-circle" style="font-size: 28px; width: 100%"></span>
<p style="font-size: 11px;"><%= __('Есть вопросы?') %></p>
Expand Down

0 comments on commit d7aea73

Please sign in to comment.