Skip to content

Commit f41cedb

Browse files
Bump the parser (#2163)
* Bump the parser * Lockfile * Bump again * Error message changed
1 parent cc11646 commit f41cedb

File tree

3 files changed

+23
-13
lines changed

3 files changed

+23
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
"dependencies": {
7575
"@ember-data/rfc395-data": "^0.0.4",
7676
"css-tree": "^2.3.1",
77-
"ember-eslint-parser": "^0.4.3",
77+
"ember-eslint-parser": "^0.5.2",
7878
"ember-rfc176-data": "^0.3.18",
7979
"eslint-utils": "^3.0.0",
8080
"estraverse": "^5.3.0",

tests/lib/rules-preprocessor/gjs-gts-parser-test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,8 @@ const invalid = [
169169
{
170170
message:
171171
'Parsing error: Unexpected token. A constructor, method, accessor, or property was expected.\n' +
172-
'To lint Gjs/Gts files please follow the setup guide at https://github.com/ember-cli/eslint-plugin-ember#gtsgjs',
172+
'To lint Gjs/Gts files please follow the setup guide at https://github.com/ember-cli/eslint-plugin-ember#gtsgjs\n' +
173+
'Note that this error can also happen if you have multiple versions of ember-eslint-plugin in your node_modules',
173174
line: 3,
174175
column: 6,
175176
},

yarn.lock

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
json5 "^2.2.3"
5050
semver "^6.3.1"
5151

52-
"@babel/eslint-parser@7.23.10", "@babel/eslint-parser@^7.22.15":
52+
"@babel/eslint-parser@^7.22.15":
5353
version "7.23.10"
5454
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.10.tgz#2d4164842d6db798873b40e0c4238827084667a2"
5555
integrity sha512-3wSYDPZVnhseRnxRJH6ZVTNknBz76AEnyC+AYYhasjP3Yy23qz0ERR7Fcd2SHmYuSFJ2kY9gaaDd3vyqU09eSw==
@@ -58,6 +58,15 @@
5858
eslint-visitor-keys "^2.1.0"
5959
semver "^6.3.1"
6060

61+
"@babel/eslint-parser@^7.23.10":
62+
version "7.25.1"
63+
resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.25.1.tgz#469cee4bd18a88ff3edbdfbd227bd20e82aa9b82"
64+
integrity sha512-Y956ghgTT4j7rKesabkh5WeqgSFZVFwaPR0IWFm7KFHFmmJ4afbG49SmfW4S+GyRPx0Dy5jxEWA5t0rpxfElWg==
65+
dependencies:
66+
"@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1"
67+
eslint-visitor-keys "^2.1.0"
68+
semver "^6.3.1"
69+
6170
"@babel/generator@^7.23.6", "@babel/generator@^7.7.2":
6271
version "7.23.6"
6372
resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e"
@@ -2146,10 +2155,10 @@ configstore@^6.0.0:
21462155
write-file-atomic "^3.0.3"
21472156
xdg-basedir "^5.0.1"
21482157

2149-
content-tag@^1.2.2:
2150-
version "1.2.2"
2151-
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-1.2.2.tgz#8cbc3cdb9957a81f7c425b138e334330dd6fd78d"
2152-
integrity sha512-9guqKIx2H+78N17otBpl8yLZbQGL5q1vBO/jDb3gF2JjixtcVpC62jDUNxjVMNoaZ09oxRX84ZOD6VX02qkVvg==
2158+
content-tag@^2.0.1:
2159+
version "2.0.2"
2160+
resolved "https://registry.yarnpkg.com/content-tag/-/content-tag-2.0.2.tgz#978802d97df21516daa10d78e2a1f148e89eab8b"
2161+
integrity sha512-qHRyTp02dgzRK2tsCFxZ1H289bZOuSLNpupr6prvnSFq4SFPmNlBKbbE5PCMb+8+Z1a1z+yCVtXvQIGUCCa3lQ==
21532162

21542163
convert-source-map@^2.0.0:
21552164
version "2.0.0"
@@ -2478,14 +2487,14 @@ electron-to-chromium@^1.4.648:
24782487
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.667.tgz#2767d998548e5eeeaf8bdaffd67b56796bfbed3d"
24792488
integrity sha512-66L3pLlWhTNVUhnmSA5+qDM3fwnXsM6KAqE36e2w4KN0g6pkEtlT5bs41FQtQwVwKnfhNBXiWRLPs30HSxd7Kw==
24802489

2481-
ember-eslint-parser@^0.4.3:
2482-
version "0.4.3"
2483-
resolved "https://registry.yarnpkg.com/ember-eslint-parser/-/ember-eslint-parser-0.4.3.tgz#a7ca3c380872719610b94c7a06cc550ced745031"
2484-
integrity sha512-wMPoaaA+i/F/tPPxURRON9XXJH5MRUOZ5x/9CVJTSpL+0n4EWphyztb20gR+ZJeShnOACQpAdFy6YSS1/JSHKw==
2490+
ember-eslint-parser@^0.5.2:
2491+
version "0.5.2"
2492+
resolved "https://registry.yarnpkg.com/ember-eslint-parser/-/ember-eslint-parser-0.5.2.tgz#798db22f54a3038f0dfdcc6fc766887b99c449fa"
2493+
integrity sha512-289KjJ08QxK1Ytf+aq04QMoQ8WvhXCInJixcGuS5SWBFNlVuEs9yAZ06VXzVSuZ9zMAqX24MTMvD7ICVFN7QSg==
24852494
dependencies:
2486-
"@babel/eslint-parser" "7.23.10"
2495+
"@babel/eslint-parser" "^7.23.10"
24872496
"@glimmer/syntax" "^0.92.0"
2488-
content-tag "^1.2.2"
2497+
content-tag "^2.0.1"
24892498
eslint-scope "^7.2.2"
24902499
html-tags "^3.3.1"
24912500

0 commit comments

Comments
 (0)