diff --git a/ember-browser-services/package.json b/ember-browser-services/package.json index e1dfc17e..2051db52 100644 --- a/ember-browser-services/package.json +++ b/ember-browser-services/package.json @@ -59,7 +59,7 @@ "@babel/plugin-transform-typescript": "7.25.2", "@babel/preset-typescript": "7.24.7", "@embroider/addon-dev": "3.2.0", - "@nullvoxpopuli/eslint-configs": "3.2.2", + "@nullvoxpopuli/eslint-configs": "4.2.0", "@types/ember__application": "^4.0.0", "@types/ember__engine": "^4.0.0", "@types/ember__object": "^4.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49dd7395..c127fa5e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -55,8 +55,8 @@ importers: specifier: 3.2.0 version: 3.2.0(rollup@3.29.5) '@nullvoxpopuli/eslint-configs': - specifier: 3.2.2 - version: 3.2.2(@babel/core@7.25.2)(@babel/eslint-parser@7.25.1)(@typescript-eslint/eslint-plugin@5.55.0)(@typescript-eslint/parser@5.62.0)(eslint-plugin-ember@11.4.8)(eslint-plugin-qunit@7.3.4)(eslint@8.57.0)(prettier@2.8.8)(typescript@4.9.5) + specifier: 4.2.0 + version: 4.2.0(@babel/core@7.25.2)(@babel/eslint-parser@7.25.1)(@babel/plugin-proposal-decorators@7.24.7)(@typescript-eslint/eslint-plugin@5.55.0)(@typescript-eslint/parser@5.62.0)(eslint-plugin-ember@11.4.8)(eslint@8.57.0)(prettier@2.8.8)(typescript@4.9.5) '@types/ember__application': specifier: ^4.0.0 version: 4.0.11(@babel/core@7.25.2) @@ -149,8 +149,8 @@ importers: specifier: ^1.1.2 version: 1.1.2 '@nullvoxpopuli/eslint-configs': - specifier: ^3.1.1 - version: 3.2.2(@babel/core@7.25.2)(@babel/eslint-parser@7.25.1)(@typescript-eslint/eslint-plugin@5.55.0)(@typescript-eslint/parser@5.62.0)(eslint-plugin-ember@11.4.8)(eslint-plugin-qunit@7.3.4)(eslint@8.57.0)(prettier@2.8.8)(typescript@4.9.5) + specifier: ^4.0.0 + version: 4.2.0(@babel/core@7.25.2)(@babel/eslint-parser@7.25.1)(@typescript-eslint/eslint-plugin@5.55.0)(@typescript-eslint/parser@5.62.0)(eslint-plugin-ember@11.4.8)(eslint-plugin-qunit@7.3.4)(eslint@8.57.0)(prettier@2.8.8)(typescript@4.9.5) '@types/ember': specifier: ^4.0.0 version: 4.0.11(@babel/core@7.25.2) @@ -2702,12 +2702,13 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /@nullvoxpopuli/eslint-configs@3.2.2(@babel/core@7.25.2)(@babel/eslint-parser@7.25.1)(@typescript-eslint/eslint-plugin@5.55.0)(@typescript-eslint/parser@5.62.0)(eslint-plugin-ember@11.4.8)(eslint-plugin-qunit@7.3.4)(eslint@8.57.0)(prettier@2.8.8)(typescript@4.9.5): - resolution: {integrity: sha512-Qm7TR7K+kb5emAoddPsoznmAgUptL7YWUOdtaBq2T4pgkEyr7JTS1v4TPg07LusfYi2He2nKJBdTcD++hrsNdw==} + /@nullvoxpopuli/eslint-configs@4.2.0(@babel/core@7.25.2)(@babel/eslint-parser@7.25.1)(@babel/plugin-proposal-decorators@7.24.7)(@typescript-eslint/eslint-plugin@5.55.0)(@typescript-eslint/parser@5.62.0)(eslint-plugin-ember@11.4.8)(eslint@8.57.0)(prettier@2.8.8)(typescript@4.9.5): + resolution: {integrity: sha512-psTAGSj6+jMAXHExjpvXZDFwoVSXVEcoDbXiJCddsq4vye9Tr8gT27NUwsiAlqjBRUhYOG88co0bghw+CxXIig==} engines: {node: '>= v16.0.0'} peerDependencies: '@babel/core': ^7.22.10 '@babel/eslint-parser': ^7.22.10 + '@babel/plugin-proposal-decorators': ^7.22.10 '@typescript-eslint/eslint-plugin': ^5.62.0 || >= 6.0.0 '@typescript-eslint/parser': ^5.62.0 || >= 6.0.0 eslint: ^7.0.0 || ^8.0.0 @@ -2719,6 +2720,8 @@ packages: optional: true '@babel/eslint-parser': optional: true + '@babel/plugin-proposal-decorators': + optional: true '@typescript-eslint/eslint-plugin': optional: true '@typescript-eslint/parser': @@ -2732,22 +2735,80 @@ packages: dependencies: '@babel/core': 7.25.2 '@babel/eslint-parser': 7.25.1(@babel/core@7.25.2)(eslint@8.57.0) + '@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.25.2) '@typescript-eslint/eslint-plugin': 5.55.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@4.9.5) '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@4.9.5) - cosmiconfig: 8.3.6(typescript@4.9.5) + cosmiconfig: 9.0.0(typescript@4.9.5) eslint: 8.57.0 eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-decorator-position: 5.0.2(@babel/eslint-parser@7.25.1)(eslint@8.57.0) eslint-plugin-ember: 11.4.8(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-json: 3.1.0 - eslint-plugin-n: 16.6.2(eslint@8.57.0) - eslint-plugin-prettier: 4.2.1(eslint@8.57.0)(prettier@2.8.8) + eslint-plugin-n: 17.10.3(eslint@8.57.0) + eslint-plugin-prettier: 5.2.1(eslint@8.57.0)(prettier@2.8.8) + eslint-plugin-simple-import-sort: 12.1.1(eslint@8.57.0) + prettier: 2.8.8 + prettier-plugin-ember-template-tag: 2.0.2(prettier@2.8.8) + transitivePeerDependencies: + - '@types/eslint' + - eslint-config-prettier + - eslint-import-resolver-node + - eslint-import-resolver-webpack + - supports-color + - typescript + dev: true + + /@nullvoxpopuli/eslint-configs@4.2.0(@babel/core@7.25.2)(@babel/eslint-parser@7.25.1)(@typescript-eslint/eslint-plugin@5.55.0)(@typescript-eslint/parser@5.62.0)(eslint-plugin-ember@11.4.8)(eslint-plugin-qunit@7.3.4)(eslint@8.57.0)(prettier@2.8.8)(typescript@4.9.5): + resolution: {integrity: sha512-psTAGSj6+jMAXHExjpvXZDFwoVSXVEcoDbXiJCddsq4vye9Tr8gT27NUwsiAlqjBRUhYOG88co0bghw+CxXIig==} + engines: {node: '>= v16.0.0'} + peerDependencies: + '@babel/core': ^7.22.10 + '@babel/eslint-parser': ^7.22.10 + '@babel/plugin-proposal-decorators': ^7.22.10 + '@typescript-eslint/eslint-plugin': ^5.62.0 || >= 6.0.0 + '@typescript-eslint/parser': ^5.62.0 || >= 6.0.0 + eslint: ^7.0.0 || ^8.0.0 + eslint-plugin-ember: '>= 11.10.0' + eslint-plugin-qunit: '>= 8.0.0' + prettier: ^2.8.8 || >= 3.0.0 + peerDependenciesMeta: + '@babel/core': + optional: true + '@babel/eslint-parser': + optional: true + '@babel/plugin-proposal-decorators': + optional: true + '@typescript-eslint/eslint-plugin': + optional: true + '@typescript-eslint/parser': + optional: true + eslint-plugin-ember: + optional: true + eslint-plugin-qunit: + optional: true + prettier: + optional: true + dependencies: + '@babel/core': 7.25.2 + '@babel/eslint-parser': 7.25.1(@babel/core@7.25.2)(eslint@8.57.0) + '@typescript-eslint/eslint-plugin': 5.55.0(@typescript-eslint/parser@5.62.0)(eslint@8.57.0)(typescript@4.9.5) + '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@4.9.5) + cosmiconfig: 9.0.0(typescript@4.9.5) + eslint: 8.57.0 + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@5.62.0)(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-plugin-decorator-position: 5.0.2(@babel/eslint-parser@7.25.1)(eslint@8.57.0) + eslint-plugin-ember: 11.4.8(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-json: 3.1.0 + eslint-plugin-n: 17.10.3(eslint@8.57.0) + eslint-plugin-prettier: 5.2.1(eslint@8.57.0)(prettier@2.8.8) eslint-plugin-qunit: 7.3.4(eslint@8.57.0) - eslint-plugin-simple-import-sort: 10.0.0(eslint@8.57.0) + eslint-plugin-simple-import-sort: 12.1.1(eslint@8.57.0) prettier: 2.8.8 - prettier-plugin-ember-template-tag: 1.1.0(prettier@2.8.8) + prettier-plugin-ember-template-tag: 2.0.2(prettier@2.8.8) transitivePeerDependencies: + - '@types/eslint' - eslint-config-prettier - eslint-import-resolver-node - eslint-import-resolver-webpack @@ -2762,6 +2823,11 @@ packages: dev: true optional: true + /@pkgr/core@0.1.1: + resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} + engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} + dev: true + /@pnpm/constants@7.1.1: resolution: {integrity: sha512-31pZqMtjwV+Vaq7MaPrT1EoDFSYwye3dp6BiHIGRJmVThCQwySRKM7hCvqqI94epNkqFAAYoWrNynWoRYosGdw==} engines: {node: '>=16.14'} @@ -4831,17 +4897,6 @@ packages: ieee754: 1.2.1 dev: true - /builtin-modules@3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - dev: true - - /builtins@5.1.0: - resolution: {integrity: sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg==} - dependencies: - semver: 7.6.3 - dev: true - /bytes@1.0.0: resolution: {integrity: sha512-/x68VkHLeTl3/Ll8IvxdwzhrT+IyKc52e/oyHhA2RwqPqswSnjVbSddfPRwAsJtbilMAPSRWwAlpxdYsSWOTKQ==} dev: true @@ -5537,8 +5592,8 @@ packages: vary: 1.1.2 dev: true - /cosmiconfig@8.3.6(typescript@4.9.5): - resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} + /cosmiconfig@9.0.0(typescript@4.9.5): + resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} peerDependencies: typescript: '>=4.9.5' @@ -5546,10 +5601,10 @@ packages: typescript: optional: true dependencies: + env-paths: 2.2.1 import-fresh: 3.3.0 js-yaml: 4.1.0 parse-json: 5.2.0 - path-type: 4.0.0 typescript: 4.9.5 dev: true @@ -6818,6 +6873,11 @@ packages: engines: {node: '>=0.12'} dev: true + /env-paths@2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + dev: true + /errlop@2.2.0: resolution: {integrity: sha512-e64Qj9+4aZzjzzFpZC7p5kmm/ccCrbLhAJplhsDXQFs87XTsXwOpH4s1Io2s90Tau/8r2j9f4l/thhDevRjzxw==} engines: {node: '>=0.8'} @@ -7198,23 +7258,20 @@ packages: - supports-color dev: true - /eslint-plugin-n@16.6.2(eslint@8.57.0): - resolution: {integrity: sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ==} - engines: {node: '>=16.0.0'} + /eslint-plugin-n@17.10.3(eslint@8.57.0): + resolution: {integrity: sha512-ySZBfKe49nQZWR1yFaA0v/GsH6Fgp8ah6XV0WDz6CN8WO0ek4McMzb7A2xnf4DCYV43frjCygvb9f/wx7UUxRw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: '>=7.0.0' + eslint: '>=8.23.0' dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - builtins: 5.1.0 + enhanced-resolve: 5.17.1 eslint: 8.57.0 eslint-plugin-es-x: 7.8.0(eslint@8.57.0) get-tsconfig: 4.7.6 - globals: 13.24.0 + globals: 15.9.0 ignore: 5.3.2 - is-builtin-module: 3.2.1 - is-core-module: 2.15.0 - minimatch: 3.1.2 - resolve: 1.22.8 + minimatch: 9.0.5 semver: 7.6.3 dev: true @@ -7233,20 +7290,24 @@ packages: semver: 6.3.1 dev: true - /eslint-plugin-prettier@4.2.1(eslint@8.57.0)(prettier@2.8.8): - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} - engines: {node: '>=12.0.0'} + /eslint-plugin-prettier@5.2.1(eslint@8.57.0)(prettier@2.8.8): + resolution: {integrity: sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==} + engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: - eslint: '>=7.28.0' + '@types/eslint': ^8.0.0 + eslint: '>=8.0.0' eslint-config-prettier: '*' - prettier: '>=2.0.0' + prettier: '>=3.0.0' peerDependenciesMeta: + '@types/eslint': + optional: true eslint-config-prettier: optional: true dependencies: eslint: 8.57.0 prettier: 2.8.8 prettier-linter-helpers: 1.0.0 + synckit: 0.9.1 dev: true /eslint-plugin-qunit@7.3.4(eslint@8.57.0): @@ -7267,6 +7328,14 @@ packages: eslint: 8.57.0 dev: true + /eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.0): + resolution: {integrity: sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==} + peerDependencies: + eslint: '>=5.0.0' + dependencies: + eslint: 8.57.0 + dev: true + /eslint-scope@5.1.1: resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} engines: {node: '>=8.0.0'} @@ -8321,6 +8390,11 @@ packages: type-fest: 0.20.2 dev: true + /globals@15.9.0: + resolution: {integrity: sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==} + engines: {node: '>=18'} + dev: true + /globalthis@1.0.4: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} @@ -8907,13 +8981,6 @@ packages: engines: {node: '>=4'} dev: true - /is-builtin-module@3.2.1: - resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} - engines: {node: '>=6'} - dependencies: - builtin-modules: 3.3.0 - dev: true - /is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} @@ -11061,16 +11128,14 @@ packages: fast-diff: 1.3.0 dev: true - /prettier-plugin-ember-template-tag@1.1.0(prettier@2.8.8): - resolution: {integrity: sha512-zJTC+NhEU0kHNnVh7OtcvMmkJmYTgFTist76FP9q07m9+WCvcaunR1sTFIOlGE9TH/5UGm6rlF86Umt9ouorAg==} - engines: {node: 16.* || 18.* || >= 20} + /prettier-plugin-ember-template-tag@2.0.2(prettier@2.8.8): + resolution: {integrity: sha512-eSEnrxdD3NtMyIGwG2FxcTPOdpcbCK7VnBNhAufdaoeOIs+mNwmTsZdkWxr/LMhBdgtR1IUQB0l0YQhUQGz6kQ==} + engines: {node: 18.* || >= 20} peerDependencies: prettier: '>= 3.0.0' dependencies: '@babel/core': 7.25.2 - '@glimmer/syntax': 0.84.3 - ember-cli-htmlbars: 6.3.0 - ember-template-imports: 3.4.2 + content-tag: 1.2.2 prettier: 2.8.8 transitivePeerDependencies: - supports-color @@ -12649,6 +12714,14 @@ packages: - supports-color dev: true + /synckit@0.9.1: + resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} + engines: {node: ^14.18.0 || >=16.0.0} + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.6.3 + dev: true + /tap-parser@7.0.0: resolution: {integrity: sha512-05G8/LrzqOOFvZhhAk32wsGiPZ1lfUrl+iV7+OkKgfofZxiceZWMHkKmow71YsyVQ8IvGBP2EjcIjE5gL4l5lA==} hasBin: true diff --git a/test-app/package.json b/test-app/package.json index c61e345e..b784dcf6 100644 --- a/test-app/package.json +++ b/test-app/package.json @@ -34,7 +34,7 @@ "@embroider/test-setup": "^3.0.3", "@glimmer/component": "^1.1.2", "@glimmer/tracking": "^1.1.2", - "@nullvoxpopuli/eslint-configs": "^3.1.1", + "@nullvoxpopuli/eslint-configs": "^4.0.0", "@types/ember": "^4.0.0", "@types/ember-qunit": "^5.0.0", "@types/ember-resolver": "^5.0.11",