Repository navigation
Commit 5bb7654
authored
refactor(bigquery): drop the apache-arrow version check
apache-arrow is a regular ^21.0.0 dependency, so the install already
guarantees its version. Its runtime check also needed loadPackageJson,
because apache-arrow's exports map blocks require('apache-arrow/
package.json'). Load it with a plain lazy require and remove
loadPackageJson.
Keep the @google-cloud/bigquery-storage check. Package managers only
warn when an installed version is outside an optional peer range, and
an older version's protos silently drop newer request fields such as
arrowSerializationOptions.1 parent f378c1f commit 5bb7654
2 files changed
Lines changed: 38 additions & 70 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 38 | | |
58 | 39 | | |
59 | 40 | | |
| |||
70 | 51 | | |
71 | 52 | | |
72 | 53 | | |
73 | | - | |
| 54 | + | |
74 | 55 | | |
75 | 56 | | |
76 | 57 | | |
| |||
98 | 79 | | |
99 | 80 | | |
100 | 81 | | |
101 | | - | |
102 | | - | |
103 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
104 | 87 | | |
105 | 88 | | |
106 | 89 | | |
107 | 90 | | |
108 | 91 | | |
109 | 92 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
115 | 97 | | |
116 | 98 | | |
117 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
158 | 144 | | |
159 | 145 | | |
160 | 146 | | |
| |||
0 commit comments