diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f5fac5ce..be747af4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.40.1" + ".": "1.40.2" } diff --git a/CHANGELOG.md b/CHANGELOG.md index e4284402..2fbeaa5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [1.40.2](https://github.com/YorikHansen/better-moodle/compare/1.40.1...1.40.2) (2024-09-10) + + +### Bug Fixes + +* **darkmode:** Fix state machine autotests being unreadable ([8e56deb](https://github.com/YorikHansen/better-moodle/commit/8e56debd474cb00869226beec60c8a32ff34897a)) +* **myCourses:** allow opening "my courses" page in a new tab via middle-click ([6a653df](https://github.com/YorikHansen/better-moodle/commit/6a653dfaef716f3b7d5e59f1a2c75a180aa1dcb5)) + ## [1.40.1](https://github.com/YorikHansen/better-moodle/compare/1.40.0...1.40.1) (2024-09-06) diff --git a/package.json b/package.json index 2a4a5e64..0d5e9b65 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "uzl-better-moodle", "description": "Improves the new weird Moodle 4 UI on UzL-Moodle", - "version": "1.40.1", + "version": "1.40.2", "packageManager": "yarn@4.4.1", "type": "module", "private": true, @@ -10,11 +10,11 @@ "prettier:write": "prettier --write --cache --cache-strategy content ." }, "devDependencies": { - "@eslint/js": "9.9.1", + "@eslint/js": "9.10.0", "@types/eslint": "9.6.1", "@types/tampermonkey": "5.0.3", "darkreader": "4.9.89", - "eslint": "9.9.1", + "eslint": "9.10.0", "eslint-config-prettier": "9.1.0", "eslint-plugin-userscripts": "0.5.5", "globals": "15.9.0", diff --git a/redesign.user.js b/redesign.user.js index a9edae82..bfd63244 100644 --- a/redesign.user.js +++ b/redesign.user.js @@ -2,7 +2,7 @@ // @name 🎓️ CAU: better-moodle // @namespace https://better-moodle.yorik.dev // @ x-release-please-start-version -// @version 1.40.1 +// @version 1.40.2 // @ x-release-please-end // @author Jan (jxn_30), Yorik (YorikHansen) // @description Improves Moodle by cool features and design improvements. @@ -6081,7 +6081,7 @@ ready(async () => { if (getSetting('myCourses.navbarDropdown')) { myCoursesA.classList.add('dropdown-toggle'); myCoursesA.dataset.toggle = 'dropdown'; - myCoursesA.href = '#'; + myCoursesA.href = myCoursesLink; myCoursesA.id = PREFIX('my-courses-dropdown-toggle'); dropdownMenu = document.createElement('div'); diff --git a/yarn.lock b/yarn.lock index 4637c07c..2f001188 100644 --- a/yarn.lock +++ b/yarn.lock @@ -51,10 +51,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:9.9.1": - version: 9.9.1 - resolution: "@eslint/js@npm:9.9.1" - checksum: 10c0/a3a91de2ce78469f7c4eee78c1eba77360706e1d0fa0ace2e19102079bcf237b851217c85ea501dc92c4c3719d60d9df966977abc8554d4c38e3638c1f53dcb2 +"@eslint/js@npm:9.10.0": + version: 9.10.0 + resolution: "@eslint/js@npm:9.10.0" + checksum: 10c0/2ac45a002dc1ccf25be46ea61001ada8d77248d1313ab4e53f3735e5ae00738a757874e41f62ad6fbd49df7dffeece66e5f53ff0d7b78a99ce4c68e8fea66753 languageName: node linkType: hard @@ -65,6 +65,15 @@ __metadata: languageName: node linkType: hard +"@eslint/plugin-kit@npm:^0.1.0": + version: 0.1.0 + resolution: "@eslint/plugin-kit@npm:0.1.0" + dependencies: + levn: "npm:^0.4.1" + checksum: 10c0/fae97cd4efc1c32501c286abba1b5409848ce8c989e1ca6a5bb057a304a2cd721e6e957f6bc35ce95cfd0871e822ed42df3c759fecdad72c30e70802e26f83c7 + languageName: node + linkType: hard + "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -339,15 +348,16 @@ __metadata: languageName: node linkType: hard -"eslint@npm:9.9.1": - version: 9.9.1 - resolution: "eslint@npm:9.9.1" +"eslint@npm:9.10.0": + version: 9.10.0 + resolution: "eslint@npm:9.10.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.11.0" "@eslint/config-array": "npm:^0.18.0" "@eslint/eslintrc": "npm:^3.1.0" - "@eslint/js": "npm:9.9.1" + "@eslint/js": "npm:9.10.0" + "@eslint/plugin-kit": "npm:^0.1.0" "@humanwhocodes/module-importer": "npm:^1.0.1" "@humanwhocodes/retry": "npm:^0.3.0" "@nodelib/fs.walk": "npm:^1.2.8" @@ -370,7 +380,6 @@ __metadata: is-glob: "npm:^4.0.0" is-path-inside: "npm:^3.0.3" json-stable-stringify-without-jsonify: "npm:^1.0.1" - levn: "npm:^0.4.1" lodash.merge: "npm:^4.6.2" minimatch: "npm:^3.1.2" natural-compare: "npm:^1.4.0" @@ -384,7 +393,7 @@ __metadata: optional: true bin: eslint: bin/eslint.js - checksum: 10c0/5e71efda7c0a14ee95436d5cdfed04ee61dfb1d89d7a32b50a424de2e680af82849628ea6581950c2e0726491f786a3cfd0032ce013c1c5093786e475cfdfb33 + checksum: 10c0/7357f3995b15043eea83c8c0ab16c385ce3f28925c1b11cfcd6b2ede8faab3d91ede84a68173dd5f6e3e176e177984e6218de58b7b8388e53e2881f1ec07c836 languageName: node linkType: hard @@ -872,11 +881,11 @@ __metadata: version: 0.0.0-use.local resolution: "uzl-better-moodle@workspace:." dependencies: - "@eslint/js": "npm:9.9.1" + "@eslint/js": "npm:9.10.0" "@types/eslint": "npm:9.6.1" "@types/tampermonkey": "npm:5.0.3" darkreader: "npm:4.9.89" - eslint: "npm:9.9.1" + eslint: "npm:9.10.0" eslint-config-prettier: "npm:9.1.0" eslint-plugin-userscripts: "npm:0.5.5" globals: "npm:15.9.0"