File tree Expand file tree Collapse file tree 4 files changed +25
-8
lines changed
packages/@lwc/template-compiler/src/parser Expand file tree Collapse file tree 4 files changed +25
-8
lines changed Original file line number Diff line number Diff line change 7272 "rollup" : " ^4.53.3" ,
7373 "terser" : " ^5.44.1" ,
7474 "tslib" : " ^2.8.1" ,
75- "typescript" : " 5.8.2 " ,
75+ "typescript" : " ~6.0.0-0 " ,
7676 "typescript-eslint" : " 8.48.1" ,
7777 "vitest" : " 4.0.15"
7878 },
Original file line number Diff line number Diff line change @@ -89,7 +89,22 @@ import type {
8989} from '../shared/types' ;
9090import type State from '../state' ;
9191import type { Token as parse5Token } from 'parse5' ;
92- import type { Location } from 'parse5/dist/common/token' ;
92+
93+ /** Copied from `parse5/dist/common/token.d.ts` because it's not exported at the top level. */
94+ interface Location {
95+ /** One-based line index of the first character. */
96+ startLine : number ;
97+ /** One-based column index of the first character. */
98+ startCol : number ;
99+ /** Zero-based first character index. */
100+ startOffset : number ;
101+ /** One-based line index of the last character. */
102+ endLine : number ;
103+ /** One-based column index of the last character. Points directly *after* the last character. */
104+ endCol : number ;
105+ /** Zero-based last character index. Points directly *after* the last character. */
106+ endOffset : number ;
107+ }
93108
94109function attributeExpressionReferencesForOfIndex ( attribute : Attribute , forOf : ForOf ) : boolean {
95110 const { value } = attribute ;
Original file line number Diff line number Diff line change 66 "declarationMap" : true ,
77 "sourceMap" : true ,
88
9- "module" : " commonjs " ,
10- "moduleResolution" : " node " ,
9+ "module" : " preserve " ,
10+ "moduleResolution" : " bundler " ,
1111 "esModuleInterop" : true ,
1212
1313 "target" : " es2021" ,
Original file line number Diff line number Diff line change 18531853
18541854"@lwc/eslint-plugin-lwc-internal@link:./scripts/eslint-plugin":
18551855 version "0.0.0"
1856+ uid ""
18561857
18571858"@lwc/test-utils-lwc-internals@link:./scripts/test-utils":
18581859 version "0.0.0"
1860+ uid ""
18591861
1860186218611863 version "0.2.4"
1178711789 "@typescript-eslint/typescript-estree" "8.48.1"
1178811790 "@typescript-eslint/utils" "8.48.1"
1178911791
11790- typescript@5.8.2 :
11791- version "5.8.2 "
11792- resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.2. tgz#8170b3702f74b79db2e5a96207c15e65807999e4 "
11793- integrity sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ ==
11792+ typescript@~6.0.0-0 :
11793+ version "6.0.0-dev.20251210 "
11794+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-6.0.0-dev.20251210. tgz#c3b00ab80013d73c120a7c033826b258309a46cb "
11795+ integrity sha512-IrJNDyAX7sgCsT+65JI8ymvq1Zm9bvioxnN8+F/LCtAQOpv3uWKVH7JbtLOEbi8+4W2HOut43A+z/MFn5m8F7A ==
1179411796
1179511797typical@^4.0.0:
1179611798 version "4.0.0"
You can’t perform that action at this time.
0 commit comments