this repo has no description

Compare changes

Choose any two refs to compare.

Changed files
+40 -27
.github
workflows
nix
packages
+16
.github/workflows/nix.yml
···
+
name: Check Nix flake
+
on: [push, pull_request]
+
+
permissions:
+
checks: write
+
+
jobs:
+
nix:
+
name: Check Nix flake
+
runs-on: ubuntu-latest
+
steps:
+
- uses: actions/checkout@v4
+
- uses: DeterminateSystems/nix-installer-action@main
+
+
- name: Build default flake output
+
run: nix build
+1 -10
CHANGELOG.md
···
## Core
-
- Fixed some issues with patching that could cause Discord to not load properly
-
- Improved browser loading code, which should result in less failed loads and logouts
-
- Updated moonlight to pnpm 10 and Node.js 22 (thanks @pauliesnug!)
- Updated mappings
-
-
## Core extensions
-
-
- Moonbase: Made the refresh button spin better (thanks @emma-sg!)
-
- Moonbase: Improved the about page
-
- Component Editor: Fixed for latest Discord
-
- Quiet Loggers: Fixed for latest Discord
+
- Fixed using remapped paths as patch finds not working
+1 -1
nix/default.nix
···
pnpmDeps = pnpm_10.fetchDeps {
inherit (finalAttrs) pname version src;
-
hash = "sha256-JYHoTZuk0z1Tn39R5j0UJ41yZVNF0PpzrgkLzfCrxHI=";
+
hash = "sha256-I+zRCUqJabpGJRFBGW0NrM9xzyzeCjioF54zlCpynBU=";
};
env = {
+1 -1
package.json
···
{
"name": "moonlight",
-
"version": "1.3.12",
+
"version": "1.3.14",
"packageManager": "pnpm@10.7.1",
"description": "Yet another Discord mod",
"license": "LGPL-3.0-or-later",
+1 -1
packages/browser/manifest.json
···
"manifest_version": 3,
"name": "moonlight",
"description": "Yet another Discord mod",
-
"version": "1.3.12",
+
"version": "1.3.14",
"permissions": ["declarativeNetRequestWithHostAccess", "webRequest", "scripting", "webNavigation"],
"host_permissions": [
"https://moonlight-mod.github.io/*",
+1 -1
packages/browser/manifestv2.json
···
"manifest_version": 2,
"name": "moonlight",
"description": "Yet another Discord mod",
-
"version": "1.3.12",
+
"version": "1.3.14",
"permissions": [
"webRequest",
"webRequestBlocking",
+1 -1
packages/core/src/patch.ts
···
const origModuleString = moduleCache[id];
let moduleString = origModuleString;
const patchedStr = [];
-
const mappedName = moonlight.moonmap.modules[id];
+
const mappedName = Object.entries(moonlight.moonmap.modules).find((m) => m[1] === id)?.[0];
let modified = false;
let swappedModule = false;
+2 -2
packages/types/package.json
···
{
"name": "@moonlight-mod/types",
-
"version": "1.3.15",
+
"version": "1.3.17",
"exports": {
".": "./src/index.ts",
"./import": "./src/import.d.ts",
···
},
"dependencies": {
"@moonlight-mod/lunast": "^1.0.1",
-
"@moonlight-mod/mappings": "^1.1.24",
+
"@moonlight-mod/mappings": "^1.1.25",
"@moonlight-mod/moonmap": "^1.0.5",
"@types/react": "^18.3.10",
"csstype": "^3.1.3",
+15 -9
pnpm-lock.yaml
···
specifier: ^1.0.1
version: 1.0.1
'@moonlight-mod/mappings':
-
specifier: ^1.1.24
-
version: 1.1.24
+
specifier: ^1.1.25
+
version: 1.1.25
'@moonlight-mod/moonmap':
specifier: ^1.0.5
version: 1.0.5
···
specifier: ^1.0.1
version: 1.0.1
'@moonlight-mod/mappings':
-
specifier: ^1.1.24
-
version: 1.1.24(@moonlight-mod/lunast@1.0.1)(@moonlight-mod/moonmap@1.0.5)
+
specifier: ^1.1.25
+
version: 1.1.25(@moonlight-mod/lunast@1.0.1)(@moonlight-mod/moonmap@1.0.5)
'@moonlight-mod/moonmap':
specifier: ^1.0.5
version: 1.0.5
···
version: 1.0.1
'@moonlight-mod/mappings':
specifier: catalog:prod
-
version: 1.1.24(@moonlight-mod/lunast@1.0.1)(@moonlight-mod/moonmap@1.0.5)
+
version: 1.1.25(@moonlight-mod/lunast@1.0.1)(@moonlight-mod/moonmap@1.0.5)
'@moonlight-mod/moonmap':
specifier: catalog:prod
version: 1.0.5
···
'@moonlight-mod/lunast@1.0.1':
resolution: {integrity: sha512-K3vxzDlfFuYKjciIW2FMlcZ1qrrkAGDGpSBlNqYGtJ0sMt9bRCd2lpSpg6AX/giSljDtmAUXa/5mOfUoDQxjBA==}
-
'@moonlight-mod/mappings@1.1.24':
-
resolution: {integrity: sha512-tcZSD8S+twjNq1Wp4wnHbc38BfLeHB/9MMLhk8YNqTGMMr5swaKcMOmvGjqd50vRPBRgAi/ss180cIX2uYWrOg==}
+
'@moonlight-mod/mappings@1.1.25':
+
resolution: {integrity: sha512-bgnSN9H/IBdMGxGev6RQKXuzhQxwo1090NhIDHnflguZnjiu2pg/usPfh76bqyhxRuX4SS7tiZSNTwBoSflCLg==}
engines: {node: '>=22', npm: pnpm, pnpm: '>=10', yarn: pnpm}
peerDependencies:
'@moonlight-mod/lunast': ^1.0.1
···
'@types/estree@1.0.6':
resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==}
+
+
'@types/estree@1.0.7':
+
resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==}
'@types/fbemitter@2.0.35':
resolution: {integrity: sha512-Xem6d7qUfmouCHntCrRYgDBwbf+WWRd6G+7WEFlEZFZ67LZXiYRvT2LV8wcZa6mIaAil95+ABQdKgB6hPIsnng==}
···
estree-toolkit: 1.7.8
meriyah: 6.0.1
-
'@moonlight-mod/mappings@1.1.24(@moonlight-mod/lunast@1.0.1)(@moonlight-mod/moonmap@1.0.5)':
+
'@moonlight-mod/mappings@1.1.25(@moonlight-mod/lunast@1.0.1)(@moonlight-mod/moonmap@1.0.5)':
dependencies:
'@moonlight-mod/lunast': 1.0.1
'@moonlight-mod/moonmap': 1.0.5
···
'@types/eslint@9.6.1':
dependencies:
-
'@types/estree': 1.0.6
+
'@types/estree': 1.0.7
'@types/json-schema': 7.0.15
optional: true
···
'@types/estree': 1.0.6
'@types/estree@1.0.6': {}
+
+
'@types/estree@1.0.7':
+
optional: true
'@types/fbemitter@2.0.35': {}
+1 -1
pnpm-workspace.yaml
···
taze: ^19.0.4
prod:
"@moonlight-mod/lunast": ^1.0.1
-
"@moonlight-mod/mappings": ^1.1.24
+
"@moonlight-mod/mappings": ^1.1.25
"@moonlight-mod/moonmap": ^1.0.5
microdiff: ^1.5.0
nanotar: ^0.1.1