Skip to content

Commit

Permalink
Merge pull request #665 from qonto/dependabot/npm_and_yarn/eslint-plu…
Browse files Browse the repository at this point in the history
…gin-ember-12.2.0

chore(deps-dev): bump eslint-plugin-ember from 11.11.1 to 12.2.0
  • Loading branch information
uanjoze authored Sep 18, 2024
2 parents 2ee98e0 + 7eab17c commit c68502f
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 34 deletions.
3 changes: 2 additions & 1 deletion ember-autofocus-modifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"dependencies": {
"@embroider/addon-shim": "^1.8.7",
"ember-lifeline": "^7.0.0",
"ember-modifier": "^4.1.0"
},
"devDependencies": {
Expand All @@ -58,7 +59,7 @@
"ember-template-lint": "^5.13.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ember": "^11.11.1",
"eslint-plugin-ember": "^12.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"prettier": "^3.2.4",
Expand Down
4 changes: 2 additions & 2 deletions ember-autofocus-modifier/src/modifiers/autofocus.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { modifier } from "ember-modifier";
import { next } from "@ember/runloop";
import { runTask } from "ember-lifeline";

const focusableElements = [
"BUTTON",
Expand Down Expand Up @@ -68,7 +68,7 @@ const autofocus = modifier<ModifierArgs>(function autofocus(
element.setAttribute("tabindex", "-1");
}

next(function () {
runTask(element, function () {
targetElement.focus();
});

Expand Down
119 changes: 95 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions test-app/config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,18 +101,18 @@ module.exports = async function () {
embroiderSafe({
npm: {
devDependencies: {
'@embroider/compat': '^3.2.1',
'@embroider/core': '^3.2.1',
'@embroider/webpack': '^3.1.5',
'@embroider/compat': '^3.3.0',
'@embroider/core': '^3.4.0',
'@embroider/webpack': '^3.2.1',
},
},
}),
embroiderOptimized({
npm: {
devDependencies: {
'@embroider/compat': '^3.2.1',
'@embroider/core': '^3.2.1',
'@embroider/webpack': '^3.1.5',
'@embroider/compat': '^3.3.0',
'@embroider/core': '^3.4.0',
'@embroider/webpack': '^3.2.1',
},
},
}),
Expand Down
2 changes: 1 addition & 1 deletion test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"ember-try": "3.0.0",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-ember": "11.11.1",
"eslint-plugin-ember": "12.2.0",
"eslint-plugin-n": "16.6.2",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
Expand Down

0 comments on commit c68502f

Please sign in to comment.