File tree Expand file tree Collapse file tree 4 files changed +241
-805
lines changed Expand file tree Collapse file tree 4 files changed +241
-805
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ let counter = 0;
73
73
* @param {string } text
74
74
*/
75
75
function format ( e , source , text ) {
76
- const er = /** @type {import('peggy').parser.PeggySyntaxError } */ ( e ) ;
76
+ const er = /** @type {import('peggy').parser.SyntaxError } */ ( e ) ;
77
77
if ( typeof er ?. format === "function" ) {
78
78
er . message = er . format ( [ { source, text } ] ) ;
79
79
}
Original file line number Diff line number Diff line change 32
32
"test" : " c8 node --test test/*.test.js"
33
33
},
34
34
"dependencies" : {
35
- "peggy" : " 5.0.0 " ,
35
+ "peggy" : " 5.0.3 " ,
36
36
"source-map" : " 0.7.4"
37
37
},
38
38
"devDependencies" : {
39
- "@peggyjs/eslint-config" : " 6.0.0 " ,
40
- "@types/node" : " 22.15.14 " ,
39
+ "@peggyjs/eslint-config" : " 6.0.1 " ,
40
+ "@types/node" : " 24.0.3 " ,
41
41
"c8" : " 10.1.3" ,
42
- "eslint" : " 9.26 .0" ,
43
- "typedoc" : " 0.28.4 " ,
42
+ "eslint" : " 9.29 .0" ,
43
+ "typedoc" : " 0.28.5 " ,
44
44
"typescript" : " 5.8.3"
45
45
},
46
- "packageManager" : " pnpm@10.10.0 " ,
46
+ "packageManager" : " pnpm@10.12.1 " ,
47
47
"engines" : {
48
48
"node" : " >=20"
49
49
}
You can’t perform that action at this time.
0 commit comments