Skip to content

Commit

Permalink
release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyhalight committed Aug 11, 2024
1 parent d3db562 commit 5445e2e
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 35 deletions.
18 changes: 18 additions & 0 deletions .webpack/config.shared.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
export default {
resolve: {
extensions: [".js"],
},
performance: {
hints: "error",
maxEntrypointSize: 2000 * 10 ** 3,
maxAssetSize: 2000 * 10 ** 3,
},
module: {
rules: [
{
test: /\.(css|scss|sass)$/i,
use: ["style-loader", "css-loader", "sass-loader"],
},
],
},
};
19 changes: 3 additions & 16 deletions .webpack/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,15 @@ import { styleLoaderInsertStyleElement } from "webpack-monkey/lib/client/css.js"
import ESLintPlugin from "eslint-webpack-plugin";
import TerserPlugin from "terser-webpack-plugin";

import configShared from "./config.shared.js";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.resolve(path.dirname(__filename), "..");

export default () => {
return monkey({
mode: "production",
resolve: {
extensions: [".js"],
},
performance: {
hints: "error",
maxEntrypointSize: 2000 * 10 ** 3,
maxAssetSize: 2000 * 10 ** 3,
},
...configShared,
entry: path.resolve(__dirname, "tests", "ui.js"),
output: {
path: path.resolve(__dirname, "dist"),
Expand All @@ -48,14 +43,6 @@ export default () => {
},
}),
],
module: {
rules: [
{
test: /\.(css|scss|sass)$/i,
use: ["style-loader", "css-loader", "sass-loader"],
},
],
},
optimization: {
emitOnErrors: true,
moduleIds: "named",
Expand Down
18 changes: 2 additions & 16 deletions .webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
sitesPeertube,
sitesPoketube,
} from "vot.js/alternativeUrls";
import configShared from "./config.shared.js";

const repo =
"https://raw.githubusercontent.com/ilyhalight/voice-over-translation";
Expand Down Expand Up @@ -69,14 +70,7 @@ export default (env) => {

return monkey({
mode: dev ? "development" : "production",
resolve: {
extensions: [".js"],
},
performance: {
hints: "error",
maxEntrypointSize: 2000 * 10 ** 3,
maxAssetSize: 2000 * 10 ** 3,
},
...configShared,
entry: path.resolve(__dirname, "src", "index.js"),
output: {
path: path.resolve(__dirname, "dist"),
Expand Down Expand Up @@ -144,14 +138,6 @@ export default (env) => {
})(),
}),
],
module: {
rules: [
{
test: /\.(css|scss|sass)$/i,
use: ["style-loader", "css-loader", "sass-loader"],
},
],
},
optimization: {
emitOnErrors: true,
moduleIds: "named",
Expand Down
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
<!-- #600 aniboom (referer + useragent, mpd), sibnet (referer) "*://video.sibnet.ru/*", -->
<!-- Фикс vk mobile -->

# 1.6.x
# 1.6.1

- Теперь, после инициализации кнопка скрывается, а не ждет пока вы куда-нибудь нажмете/наведетесь на видео
- В качестве эксперимента, была убрана регистрация видео, которые изначально были замучены (такие видео могли использоваться для заднего фона или как вспомогательные элементы для основного плеера)
- Исправлена ошибка из-за которой на сайтах без поддержки субтитров кнопка могла не показываться
- Исправлена ошибка из-за которой кнопка не исчезала на Pornhub (#700)
- Ускорена работа VideoObserver (#740)
- Временно, поддержка `www.reddit.com` заменена на `old.reddit.com` из-за багов с инициализацией
- Добавлена поддержка большего числа инстансов Peertube
- Добавлено проксирование субтитров (#739)
Expand Down
2 changes: 1 addition & 1 deletion dist/vot-min.user.js

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

2 changes: 1 addition & 1 deletion dist/vot.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @connect onrender.com
// @connect workers.dev
// @namespace vot
// @version 1.6.0
// @version 1.6.1
// @icon https://translate.yandex.ru/icons/favicon.ico
// @author sodapng, mynovelhost, Toil, SashaXser, MrSoczekXD
// @homepageURL https://github.com/ilyhalight/voice-over-translation/issues
Expand Down

0 comments on commit 5445e2e

Please sign in to comment.