From d7aea73ca68fafabbd44b55c1811049cdf0b08b8 Mon Sep 17 00:00:00 2001 From: zeldaroot Date: Fri, 1 Oct 2021 01:02:42 +0300 Subject: [PATCH] Dependencies security updates --- config/locales/en/default/modules.js | 2 +- config/locales/ru/default/modules.js | 2 +- files/cinemapress.user.js | 2 +- package.json | 4 ++-- routes/cinemaplayer.js | 4 ++-- themes/default/views/admin/includes/right.ejs | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/locales/en/default/modules.js b/config/locales/en/default/modules.js index 9f40b6c..f4a4ec7 100644 --- a/config/locales/en/default/modules.js +++ b/config/locales/en/default/modules.js @@ -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": { diff --git a/config/locales/ru/default/modules.js b/config/locales/ru/default/modules.js index 5ab0b17..5270041 100644 --- a/config/locales/ru/default/modules.js +++ b/config/locales/ru/default/modules.js @@ -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": { diff --git a/files/cinemapress.user.js b/files/cinemapress.user.js index 213f29a..a20e8c2 100644 --- a/files/cinemapress.user.js +++ b/files/cinemapress.user.js @@ -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 diff --git a/package.json b/package.json index e66d595..9122a62 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "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", @@ -56,7 +56,7 @@ "@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", diff --git a/routes/cinemaplayer.js b/routes/cinemaplayer.js index 802d645..b6ae62c 100644 --- a/routes/cinemaplayer.js +++ b/routes/cinemaplayer.js @@ -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' && diff --git a/themes/default/views/admin/includes/right.ejs b/themes/default/views/admin/includes/right.ejs index 480dc06..8751dcd 100644 --- a/themes/default/views/admin/includes/right.ejs +++ b/themes/default/views/admin/includes/right.ejs @@ -4,7 +4,7 @@