File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 63
63
},
64
64
"devDependencies" : {
65
65
"@babel/plugin-transform-flow-strip-types" : " ^7.0.0" ,
66
- "@types/babel__code-frame" : " ^7.0.3" ,
67
66
"@types/ws" : " ^8.5.4" ,
68
67
"babel-jest" : " ^29.2.1" ,
69
68
"dedent" : " ^0.7.0" ,
Original file line number Diff line number Diff line change 8
8
* @oncall react_native
9
9
*/
10
10
11
- import type { SourceLocation } from '@babel/code-frame' ;
12
11
import type { JsTransformOptions } from 'metro-transform-worker' ;
13
12
import type { RequireContextParams } from '../ModuleGraph/worker/collectDependencies' ;
14
13
import type { RequireContext } from '../lib/contextModule' ;
@@ -55,7 +54,10 @@ export interface TransformResultDependency {
55
54
*/
56
55
readonly isOptional ?: boolean ;
57
56
58
- readonly locs : ReadonlyArray < SourceLocation > ;
57
+ readonly locs : ReadonlyArray < {
58
+ readonly start : { readonly line : number ; readonly column : number } ;
59
+ readonly end : { readonly line : number ; readonly column : number } ;
60
+ } > ;
59
61
60
62
/** Context for requiring a collection of modules. */
61
63
readonly contextParams ?: RequireContextParams ;
Original file line number Diff line number Diff line change 1177
1177
resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.1.tgz#a6ca6a9a0ff366af433f42f5f0e124794ff6b8f1"
1178
1178
integrity sha512-FTgBI767POY/lKNDNbIzgAX6miIDBs6NTCbdlDb8TrWovHsSvaVIZDlTqym29C6UqhzwcJx4CYr+AlrMywA0cA==
1179
1179
1180
- " @types/babel__code-frame@^7.0.3 " :
1181
- version "7.0.3"
1182
- resolved "https://registry.yarnpkg.com/@types/babel__code-frame/-/babel__code-frame-7.0.3.tgz#eda94e1b7c9326700a4b69c485ebbc9498a0b63f"
1183
- integrity sha512-2TN6oiwtNjOezilFVl77zwdNPwQWaDBBCCWWxyo1ctiO3vAtd7H/aB/CBJdw9+kqq3+latD0SXoedIuHySSZWw==
1184
-
1185
1180
" @types/babel__core@^7.1.14 " :
1186
1181
version "7.1.19"
1187
1182
resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.19.tgz#7b497495b7d1b4812bdb9d02804d0576f43ee460"
You can’t perform that action at this time.
0 commit comments