From 94cd8425509cd71c308a4bee1228a84df512961a Mon Sep 17 00:00:00 2001 From: mkszepp Date: Thu, 18 Jan 2024 08:20:54 +0100 Subject: [PATCH] Update eslint-plugin-ember to 12.0.0 (#1651) * Update eslint-plugin-ember to 12.0.0 * Fix ember/no-empty-glimmer-component-classes --- docs/.eslintrc.js | 4 +- docs/package.json | 2 +- ember-power-select/.eslintrc.cjs | 4 +- ember-power-select/package.json | 2 +- .../power-select/no-matches-message.ts | 4 +- .../components/power-select/placeholder.ts | 4 +- .../power-select/power-select-group.ts | 4 +- .../components/power-select/search-message.ts | 4 +- package.json | 8 +- pnpm-lock.yaml | 177 +++++++++++------- test-app/.eslintrc.js | 4 +- test-app/package.json | 2 +- 12 files changed, 136 insertions(+), 83 deletions(-) diff --git a/docs/.eslintrc.js b/docs/.eslintrc.js index 121ac75c9..3f2e6510d 100644 --- a/docs/.eslintrc.js +++ b/docs/.eslintrc.js @@ -15,7 +15,9 @@ module.exports = { env: { browser: true, }, - rules: {}, + rules: { + 'ember/no-runloop': 0, + }, overrides: [ // ts files { diff --git a/docs/package.json b/docs/package.json index 534448ded..6d104b987 100644 --- a/docs/package.json +++ b/docs/package.json @@ -97,7 +97,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.0.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-qunit": "^8.0.1", diff --git a/ember-power-select/.eslintrc.cjs b/ember-power-select/.eslintrc.cjs index 839b34e90..fa565561e 100644 --- a/ember-power-select/.eslintrc.cjs +++ b/ember-power-select/.eslintrc.cjs @@ -15,7 +15,9 @@ module.exports = { env: { browser: true, }, - rules: {}, + rules: { + 'ember/no-runloop': 0, + }, overrides: [ // ts files { diff --git a/ember-power-select/package.json b/ember-power-select/package.json index 8499158bd..8253d39d1 100644 --- a/ember-power-select/package.json +++ b/ember-power-select/package.json @@ -124,7 +124,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.0.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-prettier": "^5.1.3", "node-sass": "^9.0.0", diff --git a/ember-power-select/src/components/power-select/no-matches-message.ts b/ember-power-select/src/components/power-select/no-matches-message.ts index fffdccf1c..13bd48cbf 100644 --- a/ember-power-select/src/components/power-select/no-matches-message.ts +++ b/ember-power-select/src/components/power-select/no-matches-message.ts @@ -1,4 +1,4 @@ -import Component from '@glimmer/component'; +import templateOnly from '@ember/component/template-only'; interface PowerSelectNoMatchesMessageSignature { Element: HTMLElement; @@ -7,4 +7,4 @@ interface PowerSelectNoMatchesMessageSignature { }; } -export default class PowerSelectNoMatchesMessageComponent extends Component {} +export default templateOnly(); diff --git a/ember-power-select/src/components/power-select/placeholder.ts b/ember-power-select/src/components/power-select/placeholder.ts index da13f2260..e9efab00d 100644 --- a/ember-power-select/src/components/power-select/placeholder.ts +++ b/ember-power-select/src/components/power-select/placeholder.ts @@ -1,4 +1,4 @@ -import Component from '@glimmer/component'; +import templateOnly from '@ember/component/template-only'; interface PowerSelectPlaceholderSignature { Element: HTMLElement; @@ -9,4 +9,4 @@ interface PowerSelectPlaceholderSignature { }; } -export default class PowerSelectPlaceholderComponent extends Component {} +export default templateOnly(); diff --git a/ember-power-select/src/components/power-select/power-select-group.ts b/ember-power-select/src/components/power-select/power-select-group.ts index 5624421ab..7c6355662 100644 --- a/ember-power-select/src/components/power-select/power-select-group.ts +++ b/ember-power-select/src/components/power-select/power-select-group.ts @@ -1,4 +1,4 @@ -import Component from '@glimmer/component'; +import templateOnly from '@ember/component/template-only'; interface PowerSelectPowerSelectGroupSignature { Element: HTMLElement; @@ -10,4 +10,4 @@ interface PowerSelectPowerSelectGroupSignature { }; } -export default class PowerSelectPowerSelectGroupComponent extends Component {} +export default templateOnly(); diff --git a/ember-power-select/src/components/power-select/search-message.ts b/ember-power-select/src/components/power-select/search-message.ts index 9733d8961..67415561c 100644 --- a/ember-power-select/src/components/power-select/search-message.ts +++ b/ember-power-select/src/components/power-select/search-message.ts @@ -1,4 +1,4 @@ -import Component from '@glimmer/component'; +import templateOnly from '@ember/component/template-only'; interface PowerSelectSearchMessageSignature { Element: HTMLElement; @@ -7,4 +7,4 @@ interface PowerSelectSearchMessageSignature { }; } -export default class PowerSelectSearchMessageComponent extends Component {} +export default templateOnly(); diff --git a/package.json b/package.json index f06bb811b..9934dca6e 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,10 @@ "start:test-app": "pnpm run --filter test-app start" }, "devDependencies": { - "@release-it-plugins/lerna-changelog": "^6.0.0", - "@release-it-plugins/workspaces": "^4.0.0", - "concurrently": "^8.2.0", - "prettier": "^3.0.3", + "@release-it-plugins/lerna-changelog": "^6.1.0", + "@release-it-plugins/workspaces": "^4.2.0", + "concurrently": "^8.2.2", + "prettier": "^3.2.4", "prettier-plugin-ember-template-tag": "^2.0.0", "release-it": "^17.0.1" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 449aa5464..fa3eb4839 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,20 +9,20 @@ importers: .: devDependencies: '@release-it-plugins/lerna-changelog': - specifier: ^6.0.0 + specifier: ^6.1.0 version: 6.1.0(release-it@17.0.1) '@release-it-plugins/workspaces': - specifier: ^4.0.0 + specifier: ^4.2.0 version: 4.2.0(release-it@17.0.1) concurrently: - specifier: ^8.2.0 + specifier: ^8.2.2 version: 8.2.2 prettier: - specifier: ^3.0.3 - version: 3.2.3 + specifier: ^3.2.4 + version: 3.2.4 prettier-plugin-ember-template-tag: specifier: ^2.0.0 - version: 2.0.0(prettier@3.2.3) + version: 2.0.0(prettier@3.2.4) release-it: specifier: ^17.0.1 version: 17.0.1(typescript@5.3.3) @@ -244,14 +244,14 @@ importers: specifier: ^9.1.0 version: 9.1.0(eslint@8.56.0) eslint-plugin-ember: - specifier: ^11.11.1 - version: 11.12.0(eslint@8.56.0) + specifier: ^12.0.0 + version: 12.0.0(@babel/core@7.23.7)(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3) eslint-plugin-n: specifier: ^16.6.2 version: 16.6.2(eslint@8.56.0) eslint-plugin-prettier: specifier: ^5.1.3 - version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.3) + version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4) eslint-plugin-qunit: specifier: ^8.0.1 version: 8.0.1(eslint@8.56.0) @@ -266,7 +266,7 @@ importers: version: 0.1.48 prettier: specifier: ^3.2.3 - version: 3.2.3 + version: 3.2.4 qunit: specifier: ^2.20.0 version: 2.20.0 @@ -275,7 +275,7 @@ importers: version: 3.0.0 sass: specifier: ^1.69.7 - version: 1.69.7 + version: 1.70.0 stylelint: specifier: ^16.1.0 version: 16.1.0(typescript@5.3.3) @@ -284,7 +284,7 @@ importers: version: 36.0.0(stylelint@16.1.0) stylelint-prettier: specifier: ^5.0.0 - version: 5.0.0(prettier@3.2.3)(stylelint@16.1.0) + version: 5.0.0(prettier@3.2.4)(stylelint@16.1.0) tracked-built-ins: specifier: ^3.3.0 version: 3.3.0 @@ -455,14 +455,14 @@ importers: specifier: ^9.1.0 version: 9.1.0(eslint@8.56.0) eslint-plugin-ember: - specifier: ^11.11.1 - version: 11.12.0(eslint@8.56.0) + specifier: ^12.0.0 + version: 12.0.0(@babel/core@7.23.7)(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3) eslint-plugin-n: specifier: ^16.6.2 version: 16.6.2(eslint@8.56.0) eslint-plugin-prettier: specifier: ^5.1.3 - version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.3) + version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4) node-sass: specifier: ^9.0.0 version: 9.0.0 @@ -471,10 +471,10 @@ importers: version: 8.4.33 prettier: specifier: ^3.2.3 - version: 3.2.3 + version: 3.2.4 prettier-plugin-ember-template-tag: specifier: ^2.0.0 - version: 2.0.0(prettier@3.2.3) + version: 2.0.0(prettier@3.2.4) rollup: specifier: ^4.9.5 version: 4.9.5 @@ -483,7 +483,7 @@ importers: version: 4.0.0(rollup@4.9.5) sass: specifier: ^1.69.7 - version: 1.69.7 + version: 1.70.0 typescript: specifier: ^5.3.3 version: 5.3.3 @@ -702,14 +702,14 @@ importers: specifier: ^9.1.0 version: 9.1.0(eslint@8.56.0) eslint-plugin-ember: - specifier: ^11.11.1 - version: 11.12.0(eslint@8.56.0) + specifier: ^12.0.0 + version: 12.0.0(@babel/core@7.23.7)(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3) eslint-plugin-n: specifier: ^16.6.2 version: 16.6.2(eslint@8.56.0) eslint-plugin-prettier: specifier: ^5.1.3 - version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.3) + version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4) eslint-plugin-qunit: specifier: ^8.0.1 version: 8.0.1(eslint@8.56.0) @@ -721,7 +721,7 @@ importers: version: 0.1.48 prettier: specifier: ^3.2.3 - version: 3.2.3 + version: 3.2.4 qunit: specifier: ^2.20.0 version: 2.20.0 @@ -730,7 +730,7 @@ importers: version: 3.0.0 sass: specifier: ^1.69.7 - version: 1.69.7 + version: 1.70.0 stylelint: specifier: ^16.1.0 version: 16.1.0(typescript@5.3.3) @@ -739,7 +739,7 @@ importers: version: 36.0.0(stylelint@16.1.0) stylelint-prettier: specifier: ^5.0.0 - version: 5.0.0(prettier@3.2.3)(stylelint@16.1.0) + version: 5.0.0(prettier@3.2.4)(stylelint@16.1.0) tracked-built-ins: specifier: ^3.3.0 version: 3.3.0 @@ -2710,6 +2710,12 @@ packages: dependencies: '@simple-dom/interface': 1.4.0 + /@glimmer/interfaces@0.85.13: + resolution: {integrity: sha512-qOEdvFgCQX1g+Gfi/nA2zbKYPmEkEbhFgzZ5esgmlQNOSQx4j8nyGiBvnG/vepHrh4wUzTvIynrCQpfr3SiKXg==} + dependencies: + '@simple-dom/interface': 1.4.0 + dev: true + /@glimmer/interfaces@0.87.1: resolution: {integrity: sha512-2lbwLY4Bt9i2SvwT4hhY0TgEYKhOMQBgYvRiraq2BYHwO8iLKh3lC8iO3d+rQ3VgDtQ9i/sP6HG848VNRyVHxA==} dependencies: @@ -2874,6 +2880,16 @@ packages: '@handlebars/parser': 2.0.0 simple-html-tokenizer: 0.5.11 + /@glimmer/syntax@0.85.13: + resolution: {integrity: sha512-zMGkJh6JcHdCTx1emmBbhBrGO04gqD6CS5khmDwSJCIpVHnGH0Ejxp9rpnSMc5IW71/hFoQY6RlMgVYF2hrHhA==} + dependencies: + '@glimmer/interfaces': 0.85.13 + '@glimmer/util': 0.85.13 + '@glimmer/wire-format': 0.85.13 + '@handlebars/parser': 2.0.0 + simple-html-tokenizer: 0.5.11 + dev: true + /@glimmer/tracking@1.1.2: resolution: {integrity: sha512-cyV32zsHh+CnftuRX84ALZpd2rpbDrhLhJnTXn9W//QpqdRZ5rdMsxSY9fOsj0CKEc706tmEU299oNnDc0d7tA==} dependencies: @@ -2890,6 +2906,13 @@ packages: '@glimmer/interfaces': 0.84.3 '@simple-dom/interface': 1.4.0 + /@glimmer/util@0.85.13: + resolution: {integrity: sha512-ogj65iukNKEPPqQ2bOD6CLsqxsFwmiGvTQbAsg1eh1MoPjxhNZMpLsT5CdQ10XE7yUALHGJ71SwxBSpAOGDmxg==} + dependencies: + '@glimmer/env': 0.1.7 + '@glimmer/interfaces': 0.85.13 + dev: true + /@glimmer/util@0.87.1: resolution: {integrity: sha512-Duxi2JutaIewfIWp8PJl7U5n12yasKWtZFHNLSrg+C8TKeMXdRyJtI7uqtqg0Z/6F9JwdJe/IPhTvdsTTfzAuA==} dependencies: @@ -2941,6 +2964,13 @@ packages: '@glimmer/interfaces': 0.84.3 '@glimmer/util': 0.84.3 + /@glimmer/wire-format@0.85.13: + resolution: {integrity: sha512-q6bHPfjSYE9jH27L75lUzyhSpBA+iONzsJVXewdwO4GdYYCC4s+pfUaJg7ZYNFDcHDuVKUcLhBb/NICDzMA5Uw==} + dependencies: + '@glimmer/interfaces': 0.85.13 + '@glimmer/util': 0.85.13 + dev: true + /@glimmer/wire-format@0.87.1: resolution: {integrity: sha512-O3W1HDfRGX7wHZqvP8UzI/nWyZ2GIMFolU7l6WcLGU9HIdzqfxsc7ae2Icob/fq2kV9meHti4yDEdTMlBVK9AQ==} dependencies: @@ -5568,7 +5598,7 @@ packages: lodash.defaultsdeep: 4.6.1 matcher-collection: 2.0.1 symlink-or-copy: 1.3.1 - terser: 5.26.0 + terser: 5.27.0 walk-sync: 2.2.0 workerpool: 6.5.1 transitivePeerDependencies: @@ -5616,8 +5646,8 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001578 - electron-to-chromium: 1.4.634 + caniuse-lite: 1.0.30001579 + electron-to-chromium: 1.4.637 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.22.2) @@ -5821,13 +5851,13 @@ packages: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} dependencies: browserslist: 4.22.2 - caniuse-lite: 1.0.30001578 + caniuse-lite: 1.0.30001579 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 dev: true - /caniuse-lite@1.0.30001578: - resolution: {integrity: sha512-J/jkFgsQ3NEl4w2lCoM9ZPxrD+FoBNJ7uJUpGVjIg/j0OwJosWM36EPDv+Yyi0V4twBk9pPmlFS+PLykgEvUmg==} + /caniuse-lite@1.0.30001579: + resolution: {integrity: sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==} /capture-exit@2.0.0: resolution: {integrity: sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==} @@ -6563,7 +6593,7 @@ packages: loader-utils: 2.0.4 postcss: 8.4.33 postcss-modules-extract-imports: 3.0.0(postcss@8.4.33) - postcss-modules-local-by-default: 4.0.3(postcss@8.4.33) + postcss-modules-local-by-default: 4.0.4(postcss@8.4.33) postcss-modules-scope: 3.1.0(postcss@8.4.33) postcss-modules-values: 4.0.0(postcss@8.4.33) postcss-value-parser: 4.2.0 @@ -7053,8 +7083,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true - /electron-to-chromium@1.4.634: - resolution: {integrity: sha512-gQNahJfF5AE4MZo+pMSwmnwkzVZ+F4ZGGj4Z/MMddOXVQM0y9OHy6ts3W9SDzAJaiZM3p6eixn5ABCQ+AfXzcQ==} + /electron-to-chromium@1.4.637: + resolution: {integrity: sha512-G7j3UCOukFtxVO1vWrPQUoDk3kL70mtvjc/DC/k2o7lE0wAdq+Vwp1ipagOow+BH0uVztFysLWbkM/RTIrbK3w==} /ember-assign-helper@0.5.0(ember-source@5.5.0): resolution: {integrity: sha512-swH7FqmqB5iSeoKlU6X41iqw5HQ+EdBDyFDXmwytTyUd5GRvfGfZUn2SMUUGdyvo5FxXJWqMJ0rBT//EcGC0+Q==} @@ -7820,6 +7850,27 @@ packages: - '@glint/template' - supports-color + /ember-eslint-parser@0.2.5(@babel/core@7.23.7)(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-ht3kkY6h+kWb6yW2OrqFG9TpC4pgdiTflDYMmJtHgZbbrIPD8fCeo8jVPBYCIO5HCHqxVwmT1H0rNlRRhWfUJg==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@babel/core': ^7.23.6 + '@typescript-eslint/parser': ^6.15.0 + typescript: ^5.3.3 + dependencies: + '@babel/core': 7.23.7 + '@babel/eslint-parser': 7.23.3(@babel/core@7.23.7)(eslint@8.56.0) + '@glimmer/syntax': 0.85.13 + '@typescript-eslint/parser': 6.19.0(eslint@8.56.0)(typescript@5.3.3) + '@typescript-eslint/scope-manager': 6.19.0 + content-tag: 1.2.2 + eslint-scope: 7.2.2 + html-tags: 3.3.1 + typescript: 5.3.3 + transitivePeerDependencies: + - eslint + dev: true + /ember-fetch@8.1.2: resolution: {integrity: sha512-TVx24/jrvDIuPL296DV0hBwp7BWLcSMf0I8464KGz01sPytAB+ZAePbc9ooBTJDkKZEGFgatJa4nj3yF1S9Bpw==} engines: {node: '>= 10'} @@ -8452,28 +8503,31 @@ packages: resolution: {integrity: sha512-Uk/TVLt6Nf6Xoz7C1iYuZjOSdJxe5aaauGRke8JhKeJwD66Y61/pY2FjtLP04Ooq9PwV34bzrkKkU2UZ5FtDRA==} dev: true - /eslint-plugin-ember@11.12.0(eslint@8.56.0): - resolution: {integrity: sha512-7Ow1ky5JnRR0k3cxuvgYi4AWTe9DzGjlLgOJbU5VABLgr7Q0iq3ioC+YwAP79nV48cpw2HOgMgkZ1MynuIg59g==} - engines: {node: 14.* || 16.* || >= 18} + /eslint-plugin-ember@12.0.0(@babel/core@7.23.7)(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3): + resolution: {integrity: sha512-+GQTzL925GeKM8lUmSVskc3HqSspz7UwvW9TV0h3Z9BoSxki0qLe0RN4dfwQBxirpHu1+/4b1tLs2BKu3UEOXQ==} + engines: {node: 18.* || 20.* || >= 21} peerDependencies: - eslint: '>= 7' + eslint: '>= 8' + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true dependencies: '@ember-data/rfc395-data': 0.0.4 - '@glimmer/syntax': 0.84.3 css-tree: 2.3.1 + ember-eslint-parser: 0.2.5(@babel/core@7.23.7)(@typescript-eslint/parser@6.19.0)(eslint@8.56.0)(typescript@5.3.3) ember-rfc176-data: 0.3.18 - ember-template-imports: 3.4.2 - ember-template-recast: 6.1.4 eslint: 8.56.0 eslint-utils: 3.0.0(eslint@8.56.0) estraverse: 5.3.0 lodash.camelcase: 4.3.0 lodash.kebabcase: 4.1.1 - magic-string: 0.30.5 requireindex: 1.2.0 snake-case: 3.0.4 + typescript: 5.3.3 transitivePeerDependencies: - - supports-color + - '@babel/core' + - '@typescript-eslint/parser' dev: true /eslint-plugin-es-x@7.5.0(eslint@8.56.0): @@ -8508,7 +8562,7 @@ packages: semver: 7.5.4 dev: true - /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.3): + /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.4): resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -8524,7 +8578,7 @@ packages: dependencies: eslint: 8.56.0 eslint-config-prettier: 9.1.0(eslint@8.56.0) - prettier: 3.2.3 + prettier: 3.2.4 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 dev: true @@ -11341,13 +11395,6 @@ packages: dependencies: sourcemap-codec: 1.4.8 - /magic-string@0.30.5: - resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - /make-dir@3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -13028,8 +13075,8 @@ packages: dependencies: postcss: 8.4.33 - /postcss-modules-local-by-default@4.0.3(postcss@8.4.33): - resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==} + /postcss-modules-local-by-default@4.0.4(postcss@8.4.33): + resolution: {integrity: sha512-L4QzMnOdVwRm1Qb8m4x8jsZzKAaPAgrUF1r/hjDR2Xj7R+8Zsf97jAlSQzWtKx5YNiNGN8QxmPFIc/sh+RQl+Q==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 @@ -13256,7 +13303,7 @@ packages: fast-diff: 1.3.0 dev: true - /prettier-plugin-ember-template-tag@2.0.0(prettier@3.2.3): + /prettier-plugin-ember-template-tag@2.0.0(prettier@3.2.4): resolution: {integrity: sha512-n2iIQedT5r/kvoTfhjThPECE1y0Ji3DupNpCtENP1Dm974M2NoKhaT5QynfBdn+WXlPhvFE4A/2uDSsZfx373A==} engines: {node: 18.* || >= 20} peerDependencies: @@ -13264,7 +13311,7 @@ packages: dependencies: '@babel/core': 7.23.7 content-tag: 1.2.2 - prettier: 3.2.3 + prettier: 3.2.4 transitivePeerDependencies: - supports-color dev: true @@ -13274,8 +13321,8 @@ packages: engines: {node: '>=10.13.0'} hasBin: true - /prettier@3.2.3: - resolution: {integrity: sha512-QNhUTBq+mqt1oH1dTfY3phOKNhcDdJkfttHI6u0kj7M2+c+7fmNKlgh2GhnHiqMcbxJ+a0j2igz/2jfl9QKLuw==} + /prettier@3.2.4: + resolution: {integrity: sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==} engines: {node: '>=14'} hasBin: true dev: true @@ -13983,7 +14030,7 @@ packages: p-queue: 6.6.2 postcss: 8.4.33 postcss-modules-extract-imports: 3.0.0(postcss@8.4.33) - postcss-modules-local-by-default: 4.0.3(postcss@8.4.33) + postcss-modules-local-by-default: 4.0.4(postcss@8.4.33) postcss-modules-scope: 3.1.0(postcss@8.4.33) postcss-modules-values: 4.0.0(postcss@8.4.33) postcss-value-parser: 4.2.0 @@ -14197,8 +14244,8 @@ packages: yargs: 17.7.2 dev: true - /sass@1.69.7: - resolution: {integrity: sha512-rzj2soDeZ8wtE2egyLXgOOHQvaC2iosZrkF6v3EUG+tBwEvhqUCzm0VP3k9gHF9LXbSrRhT5SksoI56Iw8NPnQ==} + /sass@1.70.0: + resolution: {integrity: sha512-uUxNQ3zAHeAx5nRFskBnrWzDUJrrvpCPD5FNAoRvTi0WwremlheES3tg+56PaVtCs5QDRX5CBLxxKMDJMEa1WQ==} engines: {node: '>=14.0.0'} hasBin: true dependencies: @@ -14964,14 +15011,14 @@ packages: stylelint-config-recommended: 14.0.0(stylelint@16.1.0) dev: true - /stylelint-prettier@5.0.0(prettier@3.2.3)(stylelint@16.1.0): + /stylelint-prettier@5.0.0(prettier@3.2.4)(stylelint@16.1.0): resolution: {integrity: sha512-RHfSlRJIsaVg5Br94gZVdWlz/rBTyQzZflNE6dXvSxt/GthWMY3gEHsWZEBaVGg7GM+XrtVSp4RznFlB7i0oyw==} engines: {node: '>=18.12.0'} peerDependencies: prettier: '>=3.0.0' stylelint: '>=16.0.0' dependencies: - prettier: 3.2.3 + prettier: 3.2.4 prettier-linter-helpers: 1.0.0 stylelint: 16.1.0(typescript@5.3.3) dev: true @@ -15174,11 +15221,11 @@ packages: jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 - terser: 5.26.0 + terser: 5.27.0 webpack: 5.89.0 - /terser@5.26.0: - resolution: {integrity: sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ==} + /terser@5.27.0: + resolution: {integrity: sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A==} engines: {node: '>=10'} hasBin: true dependencies: diff --git a/test-app/.eslintrc.js b/test-app/.eslintrc.js index 926218e78..c205640c4 100644 --- a/test-app/.eslintrc.js +++ b/test-app/.eslintrc.js @@ -15,7 +15,9 @@ module.exports = { env: { browser: true, }, - rules: {}, + rules: { + 'ember/no-runloop': 0, + }, overrides: [ // ts files { diff --git a/test-app/package.json b/test-app/package.json index 6d992f177..f524f31bf 100644 --- a/test-app/package.json +++ b/test-app/package.json @@ -95,7 +95,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.0.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-qunit": "^8.0.1",