diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index cbf8fba..5b24081 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -15,9 +15,7 @@ on: jobs: build: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v6 - name: Set up JDK 21 @@ -28,3 +26,18 @@ jobs: cache: maven - name: Build with Maven run: mvn -B verify --file pom.xml + + mineflayer-dependencies: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Set up Node.js + uses: actions/setup-node@v5 + with: + node-version: '24' + cache: npm + cache-dependency-path: integration/mineflayer/package-lock.json + - name: Install Mineflayer dependencies + run: npm ci --prefix integration/mineflayer + - name: Audit Mineflayer dependencies + run: npm audit --prefix integration/mineflayer diff --git a/integration/mineflayer/package-lock.json b/integration/mineflayer/package-lock.json index 94fca5a..e1c3602 100644 --- a/integration/mineflayer/package-lock.json +++ b/integration/mineflayer/package-lock.json @@ -881,13 +881,16 @@ } }, "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.1.tgz", + "integrity": "sha512-6ZxzVpzDXDa3bJWaHilVayA+BH/1zmxCJoVgvmqJnid/gPoKHxUrS/aC/T6LGQtNHT+XHG9fXPJB4d+IrU30Ew==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], "license": "MIT", "bin": { - "uuid": "dist/bin/uuid" + "uuid": "dist-node/bin/uuid" } }, "node_modules/uuid-1345": { @@ -936,20 +939,6 @@ "node-fetch": "^2.6.1", "uuid": "^10.0.0" } - }, - "node_modules/yggdrasil/node_modules/uuid": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-10.0.0.tgz", - "integrity": "sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==", - "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "license": "MIT", - "bin": { - "uuid": "dist/bin/uuid" - } } } } diff --git a/integration/mineflayer/package.json b/integration/mineflayer/package.json index 7e2a3e9..15d2a39 100644 --- a/integration/mineflayer/package.json +++ b/integration/mineflayer/package.json @@ -7,5 +7,13 @@ }, "dependencies": { "mineflayer": "4.37.1" + }, + "overrides": { + "@azure/msal-node": { + "uuid": "14.0.1" + }, + "yggdrasil": { + "uuid": "14.0.1" + } } }