From ab3d4e9499ecb94ff9ffe8a3ccac8e89e8134fbb Mon Sep 17 00:00:00 2001 From: Daniel Scalzi Date: Tue, 28 Mar 2023 21:40:33 -0400 Subject: [PATCH] 2.0.2 - Make version parse regex more lenient, grant explicit permissions to github actions. --- .github/workflows/build.yml | 5 +++- package-lock.json | 59 +++++++++++++++++++------------------ package.json | 6 ++-- 3 files changed, 38 insertions(+), 32 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 408f0d6..f30807f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,9 @@ jobs: release: runs-on: ${{ matrix.os }} + permissions: + contents: write + strategy: matrix: os: [macos-latest, ubuntu-latest, windows-latest] @@ -30,6 +33,6 @@ jobs: - name: Build env: - GH_TOKEN: ${{ secrets.github_token }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npm run dist shell: bash \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 705a752..e1470fe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "helioslauncher", - "version": "2.0.1", + "version": "2.0.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "helioslauncher", - "version": "2.0.1", + "version": "2.0.2", "license": "UNLICENSED", "dependencies": { "@electron/remote": "^2.0.8", @@ -18,7 +18,7 @@ "fs-extra": "^11.1.1", "github-syntax-dark": "^0.5.0", "got": "^11.8.5", - "helios-core": "~2.0.1", + "helios-core": "~2.0.2", "helios-distribution-types": "^1.2.0", "jquery": "^3.6.4", "semver": "^7.3.8" @@ -26,7 +26,7 @@ "devDependencies": { "electron": "^23.2.0", "electron-builder": "^23.6.0", - "eslint": "^8.36.0" + "eslint": "^8.37.0" }, "engines": { "node": "18.x.x" @@ -190,14 +190,14 @@ } }, "node_modules/@eslint/eslintrc": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.1.tgz", - "integrity": "sha512-eFRmABvW2E5Ho6f5fHLqgena46rOj7r7OKHYfLElqcBfGFHHpjBhivyi5+jOEQuSpdc/1phIZJlbC2te+tZNIw==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.2.tgz", + "integrity": "sha512-3W4f5tDUra+pA+FzgugqL2pRimUTDJWKr7BINqOpkZrC0uYI0NIc0/JFgBROCU07HR6GieA5m3/rsPIhDmCXTQ==", "dev": true, "dependencies": { "ajv": "^6.12.4", "debug": "^4.3.2", - "espree": "^9.5.0", + "espree": "^9.5.1", "globals": "^13.19.0", "ignore": "^5.2.0", "import-fresh": "^3.2.1", @@ -213,9 +213,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.36.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.36.0.tgz", - "integrity": "sha512-lxJ9R5ygVm8ZWgYdUweoq5ownDlJ4upvoWmO4eLxBYHdMo+vZ/Rx0EN6MbKWDJOSUGrqJy2Gt+Dyv/VKml0fjg==", + "version": "8.37.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.37.0.tgz", + "integrity": "sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -1627,15 +1627,15 @@ } }, "node_modules/eslint": { - "version": "8.36.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.36.0.tgz", - "integrity": "sha512-Y956lmS7vDqomxlaaQAHVmeb4tNMp2FWIvU/RnU5BD3IKMD/MJPr76xdyr68P8tV1iNMvN2mRK0yy3c+UjL+bw==", + "version": "8.37.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.37.0.tgz", + "integrity": "sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.1", - "@eslint/js": "8.36.0", + "@eslint/eslintrc": "^2.0.2", + "@eslint/js": "8.37.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -1646,8 +1646,8 @@ "doctrine": "^3.0.0", "escape-string-regexp": "^4.0.0", "eslint-scope": "^7.1.1", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.5.0", + "eslint-visitor-keys": "^3.4.0", + "espree": "^9.5.1", "esquery": "^1.4.2", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", @@ -1697,23 +1697,26 @@ } }, "node_modules/eslint-visitor-keys": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", - "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.0.tgz", + "integrity": "sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/espree": { - "version": "9.5.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.0.tgz", - "integrity": "sha512-JPbJGhKc47++oo4JkEoTe2wjy4fmMwvFpgJT9cQzmfXKp22Dr6Hf1tdCteLz1h0P3t+mGvWZ+4Uankvh8+c6zw==", + "version": "9.5.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.5.1.tgz", + "integrity": "sha512-5yxtHSZXRSW5pvv3hAlXM5+/Oswi1AUFqBmbibKb5s6bp3rGIDkyXU6xCoyuuLhijr4SFwPrXRoZjz0AZDN9tg==", "dev": true, "dependencies": { "acorn": "^8.8.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.0" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -2186,9 +2189,9 @@ } }, "node_modules/helios-core": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/helios-core/-/helios-core-2.0.1.tgz", - "integrity": "sha512-Q9SPHPSi1d7tESlUp2Dt7Pgwla/0kbdXXABOedkOcrk90NpYNQXi/nBBq0bfTFPf0lsASxHK5xUnB9uFGGN77g==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/helios-core/-/helios-core-2.0.2.tgz", + "integrity": "sha512-ADXJxD45u4KsZHeI6oSkywBDnHQG3IYPKOvyLgYfy4LVWy9RdsSkcIBd8N13alimdVChpt4OoMbnKuiMmbOdbQ==", "dependencies": { "fastq": "^1.15.0", "fs-extra": "^11.1.1", diff --git a/package.json b/package.json index 753b223..ed832e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "helioslauncher", - "version": "2.0.1", + "version": "2.0.2", "productName": "Helios Launcher", "description": "Modded Minecraft Launcher", "author": "Daniel Scalzi (https://github.com/dscalzi/)", @@ -32,7 +32,7 @@ "fs-extra": "^11.1.1", "github-syntax-dark": "^0.5.0", "got": "^11.8.5", - "helios-core": "~2.0.1", + "helios-core": "~2.0.2", "helios-distribution-types": "^1.2.0", "jquery": "^3.6.4", "semver": "^7.3.8" @@ -40,7 +40,7 @@ "devDependencies": { "electron": "^23.2.0", "electron-builder": "^23.6.0", - "eslint": "^8.36.0" + "eslint": "^8.37.0" }, "repository": { "type": "git",