From 32fd82c628d7f3e4ec8c06a1994f4eca1be2be4f Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Wed, 19 Jun 2024 14:41:43 -0700 Subject: [PATCH] [Deps] pin `aria-query` and `axobject-query`, add `ls-engines` test to CI Specifically, v5.2 of aria-query and v3.2 of axobject-query require node 6 via the dequal dependency, and neither have an engines declaration. This is a breaking change See https://github.com/A11yance/aria-query/pull/497#issuecomment-2179489722 --- .github/workflows/node-pretest.yml | 7 ++++++- package.json | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node-pretest.yml b/.github/workflows/node-pretest.yml index 3a10687f..6648b0e0 100644 --- a/.github/workflows/node-pretest.yml +++ b/.github/workflows/node-pretest.yml @@ -49,4 +49,9 @@ jobs: with: node-version: 'lts/*' skip-ls-check: true - - run: npm run test:examples \ No newline at end of file + - run: npm run test:examples + + engines: + runs-on: ubuntu-latest + steps: + - uses: ljharb/actions/node/engines@main diff --git a/package.json b/package.json index 6e762ba7..43e2148c 100644 --- a/package.json +++ b/package.json @@ -79,12 +79,12 @@ }, "license": "MIT", "dependencies": { - "aria-query": "^5.3.0", + "aria-query": "~5.1.3", "array-includes": "^3.1.8", "array.prototype.flatmap": "^1.3.2", "ast-types-flow": "^0.0.8", "axe-core": "^4.9.1", - "axobject-query": "^3.2.1", + "axobject-query": "~3.1.1", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", "es-iterator-helpers": "^1.0.19",