diff --git a/package-lock.json b/package-lock.json index d70e1919..f6ee442b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "@brightspace-ui/stylelint-config": "^2", "chai": "^6", "eslint": "^9", - "eslint-config-brightspace": "^2", + "eslint-config-brightspace": "^3", "globals": "^17", "mocha": "^11", "sinon": "^21", @@ -1346,9 +1346,6 @@ "cpu": [ "arm" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1362,9 +1359,6 @@ "cpu": [ "arm" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1378,9 +1372,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1394,9 +1385,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1410,9 +1398,6 @@ "cpu": [ "loong64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1426,9 +1411,6 @@ "cpu": [ "loong64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1442,9 +1424,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1458,9 +1437,6 @@ "cpu": [ "ppc64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1474,9 +1450,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1490,9 +1463,6 @@ "cpu": [ "riscv64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1506,9 +1476,6 @@ "cpu": [ "s390x" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1522,9 +1489,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1538,9 +1502,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -4632,9 +4593,9 @@ } }, "node_modules/eslint-config-brightspace": { - "version": "2.12.1", - "resolved": "https://registry.npmjs.org/eslint-config-brightspace/-/eslint-config-brightspace-2.12.1.tgz", - "integrity": "sha512-G3mmi9ZNgiST5poIWiyWnNr/4ybsrKPxlvaiUzcudY/qAjBeMWHzbCIEfNjPb1VdAm9HsDxqXeadjDr100NuxA==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/eslint-config-brightspace/-/eslint-config-brightspace-3.1.1.tgz", + "integrity": "sha512-N6OhXucFUALn+z2Ug/fAPo/oiK0aN+rnF2jETNKd1WMaIWtGcc/+JmAx/nCJ2Q3uiE6jy8ZvtLr9WUgE317QmQ==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -4644,6 +4605,7 @@ "eslint-plugin-html": "^8", "eslint-plugin-import": "^2", "eslint-plugin-lit": "^2", + "eslint-plugin-mocha": "^11", "eslint-plugin-react": "^7", "eslint-plugin-sort-class-members": "^1", "globals": "^17" @@ -4828,6 +4790,33 @@ "eslint": ">= 8" } }, + "node_modules/eslint-plugin-mocha": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-11.2.0.tgz", + "integrity": "sha512-nMdy3tEXZac8AH5Z/9hwUkSfWu8xHf4XqwB5UEQzyTQGKcNlgFeciRAjLjliIKC3dR1Ex/a2/5sqgQzvYRkkkA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.4.1", + "globals": "^15.14.0" + }, + "peerDependencies": { + "eslint": ">=9.0.0" + } + }, + "node_modules/eslint-plugin-mocha/node_modules/globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/eslint-plugin-react": { "version": "7.37.5", "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.5.tgz", @@ -7127,9 +7116,6 @@ "cpu": [ "arm64" ], - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -7150,9 +7136,6 @@ "cpu": [ "arm64" ], - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -7173,9 +7156,6 @@ "cpu": [ "x64" ], - "libc": [ - "glibc" - ], "license": "MPL-2.0", "optional": true, "os": [ @@ -7196,9 +7176,6 @@ "cpu": [ "x64" ], - "libc": [ - "musl" - ], "license": "MPL-2.0", "optional": true, "os": [ diff --git a/package.json b/package.json index 011753fd..3822a635 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@brightspace-ui/stylelint-config": "^2", "chai": "^6", "eslint": "^9", - "eslint-config-brightspace": "^2", + "eslint-config-brightspace": "^3", "globals": "^17", "mocha": "^11", "sinon": "^21", diff --git a/test/browser/commands.test.js b/test/browser/commands.test.js index c2fb5159..d5fb7c07 100644 --- a/test/browser/commands.test.js +++ b/test/browser/commands.test.js @@ -141,7 +141,7 @@ describe('commands', () => { }); }); - describe('keyboard/focus', async() => { + describe('keyboard/focus', () => { let buttonElem, inputElem; beforeEach(async() => {