From 356a29150d68bc23ad467acb6bab7692233e8fca Mon Sep 17 00:00:00 2001 From: McKayla Washburn Date: Tue, 3 Jun 2025 19:59:42 +0000 Subject: [PATCH] chore: downgrade ua-parser-js version --- .github/dependabot.yml | 3 +++ .github/workflows/ci.yaml | 6 ++++-- package.json | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d0f053b7..65c48b36 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,3 +15,6 @@ updates: interval: "weekly" ignore: - dependency-name: "@types/vscode" + # These versions must match the versions specified in coder/coder exactly. + - dependency-name: "@types/ua-parser-js" + - dependency-name: "ua-parser-js" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 93195e3a..0129883e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,12 +18,14 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: "18" - run: yarn - run: yarn lint + - run: yarn build + test: runs-on: ubuntu-22.04 @@ -32,7 +34,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '18' + node-version: "18" - run: yarn diff --git a/package.json b/package.json index 50369369..b443a2c7 100644 --- a/package.json +++ b/package.json @@ -285,7 +285,7 @@ "@types/glob": "^7.1.3", "@types/node": "^22.14.1", "@types/node-forge": "^1.3.11", - "@types/ua-parser-js": "^0.7.39", + "@types/ua-parser-js": "0.7.36", "@types/vscode": "^1.73.0", "@types/ws": "^8.18.1", "@typescript-eslint/eslint-plugin": "^7.0.0", @@ -323,7 +323,7 @@ "pretty-bytes": "^6.1.1", "proxy-agent": "^6.4.0", "semver": "^7.7.1", - "ua-parser-js": "^2.0.3", + "ua-parser-js": "1.0.40", "ws": "^8.18.2", "zod": "^3.25.1" },