Revert "Upgrade dependencies"

This reverts commit 89688455e0.
This commit is contained in:
Kendall Garner 2024-04-28 21:03:31 -07:00
parent 89688455e0
commit 620cca9ce3
No known key found for this signature in database
GPG key ID: 18D2767419676C87
7 changed files with 1212 additions and 3764 deletions

2118
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -253,7 +253,7 @@
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0", "html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4", "husky": "^7.0.4",
"i18next-parser": "^8.13.0", "i18next-parser": "^6.6.0",
"identity-obj-proxy": "^3.0.0", "identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1", "jest": "^27.5.1",
"lint-staged": "^12.3.7", "lint-staged": "^12.3.7",
@ -357,7 +357,7 @@
"styled-components": "^6" "styled-components": "^6"
}, },
"devEngines": { "devEngines": {
"node": ">=16.x", "node": ">=14.x",
"npm": ">=7.x" "npm": ">=7.x"
}, },
"browserslist": [], "browserslist": [],

File diff suppressed because it is too large Load diff

View file

@ -13,8 +13,8 @@
"postinstall": "npm run electron-rebuild && npm run link-modules" "postinstall": "npm run electron-rebuild && npm run link-modules"
}, },
"dependencies": { "dependencies": {
"@jellybrick/mpris-service": "2.1.4",
"cheerio": "^1.0.0-rc.12", "cheerio": "^1.0.0-rc.12",
"mpris-service": "^2.1.2",
"ws": "^8.13.0" "ws": "^8.13.0"
}, },
"devDependencies": { "devDependencies": {

View file

@ -37,11 +37,7 @@ module.exports = {
output: 'src/renderer/i18n/locales/$LOCALE.json', output: 'src/renderer/i18n/locales/$LOCALE.json',
pluralSeparator: '_', pluralSeparator: '_',
resetDefaultValueLocale: 'en', resetDefaultValueLocale: 'en',
// Per migration guide, replacement for skipDefaultValues skipDefaultValues: false,
// https://github.com/i18next/i18next-parser/blob/master/docs/migration.md
defaultValue: function (locale, namespace, key, value) {
return '';
},
sort: true, sort: true,
useKeysAsDefaultValue: true, useKeysAsDefaultValue: true,
verbose: false, verbose: false,

View file

@ -1,9 +1,9 @@
import { ipcMain } from 'electron'; import { ipcMain } from 'electron';
import Player from '@jellybrick/mpris-service'; import Player from 'mpris-service';
import { PlayerRepeat, PlayerStatus, SongUpdate } from '../../../renderer/types'; import { PlayerRepeat, PlayerStatus, SongUpdate } from '../../../renderer/types';
import { getMainWindow } from '../../main'; import { getMainWindow } from '../../main';
const mprisPlayer = new Player({ const mprisPlayer = Player({
identity: 'Feishin', identity: 'Feishin',
maximumRate: 1.0, maximumRate: 1.0,
minimumRate: 1.0, minimumRate: 1.0,

View file

@ -1 +1 @@
declare module '@jellybrick/mpris-service'; declare module 'mpris-service';