@rush-fs/core 0.1.0-alpha.0 → 0.1.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +52 -208
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -75,16 +75,10 @@ function requireNative() {
75
75
  loadErrors.push(e)
76
76
  }
77
77
  try {
78
- const binding = require('@rush-fs/rush-fs-android-arm64')
79
- const bindingPackageVersion = require('@rush-fs/rush-fs-android-arm64/package.json').version
80
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
82
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
83
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
84
78
  const binding = require('@rush-fs/core-android-arm64')
85
79
  const bindingPackageVersion = require('@rush-fs/core-android-arm64/package.json').version
86
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
87
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
80
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
88
82
  }
89
83
  return binding
90
84
  } catch (e) {
@@ -97,16 +91,10 @@ function requireNative() {
97
91
  loadErrors.push(e)
98
92
  }
99
93
  try {
100
- const binding = require('@rush-fs/rush-fs-android-arm-eabi')
101
- const bindingPackageVersion = require('@rush-fs/rush-fs-android-arm-eabi/package.json').version
102
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
103
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
104
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
105
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
106
94
  const binding = require('@rush-fs/core-android-arm-eabi')
107
95
  const bindingPackageVersion = require('@rush-fs/core-android-arm-eabi/package.json').version
108
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
109
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
96
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
110
98
  }
111
99
  return binding
112
100
  } catch (e) {
@@ -124,16 +112,10 @@ function requireNative() {
124
112
  loadErrors.push(e)
125
113
  }
126
114
  try {
127
- const binding = require('@rush-fs/rush-fs-win32-x64-gnu')
128
- const bindingPackageVersion = require('@rush-fs/rush-fs-win32-x64-gnu/package.json').version
129
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
130
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
131
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
132
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
133
115
  const binding = require('@rush-fs/core-win32-x64-gnu')
134
116
  const bindingPackageVersion = require('@rush-fs/core-win32-x64-gnu/package.json').version
135
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
136
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
117
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
137
119
  }
138
120
  return binding
139
121
  } catch (e) {
@@ -146,16 +128,10 @@ function requireNative() {
146
128
  loadErrors.push(e)
147
129
  }
148
130
  try {
149
- const binding = require('@rush-fs/rush-fs-win32-x64-msvc')
150
- const bindingPackageVersion = require('@rush-fs/rush-fs-win32-x64-msvc/package.json').version
151
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
152
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
153
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
154
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
155
131
  const binding = require('@rush-fs/core-win32-x64-msvc')
156
132
  const bindingPackageVersion = require('@rush-fs/core-win32-x64-msvc/package.json').version
157
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
158
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
133
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
159
135
  }
160
136
  return binding
161
137
  } catch (e) {
@@ -169,16 +145,10 @@ function requireNative() {
169
145
  loadErrors.push(e)
170
146
  }
171
147
  try {
172
- const binding = require('@rush-fs/rush-fs-win32-ia32-msvc')
173
- const bindingPackageVersion = require('@rush-fs/rush-fs-win32-ia32-msvc/package.json').version
174
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
175
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
176
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
177
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
178
148
  const binding = require('@rush-fs/core-win32-ia32-msvc')
179
149
  const bindingPackageVersion = require('@rush-fs/core-win32-ia32-msvc/package.json').version
180
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
181
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
150
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
182
152
  }
183
153
  return binding
184
154
  } catch (e) {
@@ -191,16 +161,10 @@ function requireNative() {
191
161
  loadErrors.push(e)
192
162
  }
193
163
  try {
194
- const binding = require('@rush-fs/rush-fs-win32-arm64-msvc')
195
- const bindingPackageVersion = require('@rush-fs/rush-fs-win32-arm64-msvc/package.json').version
196
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
197
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
198
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
199
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
200
164
  const binding = require('@rush-fs/core-win32-arm64-msvc')
201
165
  const bindingPackageVersion = require('@rush-fs/core-win32-arm64-msvc/package.json').version
202
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
203
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
166
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
204
168
  }
205
169
  return binding
206
170
  } catch (e) {
@@ -216,16 +180,10 @@ function requireNative() {
216
180
  loadErrors.push(e)
217
181
  }
218
182
  try {
219
- const binding = require('@rush-fs/rush-fs-darwin-universal')
220
- const bindingPackageVersion = require('@rush-fs/rush-fs-darwin-universal/package.json').version
221
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
222
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
223
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
224
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
225
183
  const binding = require('@rush-fs/core-darwin-universal')
226
184
  const bindingPackageVersion = require('@rush-fs/core-darwin-universal/package.json').version
227
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
228
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
185
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
229
187
  }
230
188
  return binding
231
189
  } catch (e) {
@@ -238,16 +196,10 @@ function requireNative() {
238
196
  loadErrors.push(e)
239
197
  }
240
198
  try {
241
- const binding = require('@rush-fs/rush-fs-darwin-x64')
242
- const bindingPackageVersion = require('@rush-fs/rush-fs-darwin-x64/package.json').version
243
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
244
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
245
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
246
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
247
199
  const binding = require('@rush-fs/core-darwin-x64')
248
200
  const bindingPackageVersion = require('@rush-fs/core-darwin-x64/package.json').version
249
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
250
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
201
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
251
203
  }
252
204
  return binding
253
205
  } catch (e) {
@@ -260,16 +212,10 @@ function requireNative() {
260
212
  loadErrors.push(e)
261
213
  }
262
214
  try {
263
- const binding = require('@rush-fs/rush-fs-darwin-arm64')
264
- const bindingPackageVersion = require('@rush-fs/rush-fs-darwin-arm64/package.json').version
265
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
266
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
267
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
268
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
269
215
  const binding = require('@rush-fs/core-darwin-arm64')
270
216
  const bindingPackageVersion = require('@rush-fs/core-darwin-arm64/package.json').version
271
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
272
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
217
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
273
219
  }
274
220
  return binding
275
221
  } catch (e) {
@@ -286,16 +232,10 @@ function requireNative() {
286
232
  loadErrors.push(e)
287
233
  }
288
234
  try {
289
- const binding = require('@rush-fs/rush-fs-freebsd-x64')
290
- const bindingPackageVersion = require('@rush-fs/rush-fs-freebsd-x64/package.json').version
291
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
292
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
293
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
294
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
295
235
  const binding = require('@rush-fs/core-freebsd-x64')
296
236
  const bindingPackageVersion = require('@rush-fs/core-freebsd-x64/package.json').version
297
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
298
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
237
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
299
239
  }
300
240
  return binding
301
241
  } catch (e) {
@@ -308,16 +248,10 @@ function requireNative() {
308
248
  loadErrors.push(e)
309
249
  }
310
250
  try {
311
- const binding = require('@rush-fs/rush-fs-freebsd-arm64')
312
- const bindingPackageVersion = require('@rush-fs/rush-fs-freebsd-arm64/package.json').version
313
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
314
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
315
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
316
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
317
251
  const binding = require('@rush-fs/core-freebsd-arm64')
318
252
  const bindingPackageVersion = require('@rush-fs/core-freebsd-arm64/package.json').version
319
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
320
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
253
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
321
255
  }
322
256
  return binding
323
257
  } catch (e) {
@@ -335,16 +269,10 @@ function requireNative() {
335
269
  loadErrors.push(e)
336
270
  }
337
271
  try {
338
- const binding = require('@rush-fs/rush-fs-linux-x64-musl')
339
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-x64-musl/package.json').version
340
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
341
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
342
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
344
272
  const binding = require('@rush-fs/core-linux-x64-musl')
345
273
  const bindingPackageVersion = require('@rush-fs/core-linux-x64-musl/package.json').version
346
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
347
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
274
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
348
276
  }
349
277
  return binding
350
278
  } catch (e) {
@@ -357,16 +285,10 @@ function requireNative() {
357
285
  loadErrors.push(e)
358
286
  }
359
287
  try {
360
- const binding = require('@rush-fs/rush-fs-linux-x64-gnu')
361
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-x64-gnu/package.json').version
362
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
363
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
364
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
365
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
366
288
  const binding = require('@rush-fs/core-linux-x64-gnu')
367
289
  const bindingPackageVersion = require('@rush-fs/core-linux-x64-gnu/package.json').version
368
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
369
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
290
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
370
292
  }
371
293
  return binding
372
294
  } catch (e) {
@@ -381,16 +303,10 @@ function requireNative() {
381
303
  loadErrors.push(e)
382
304
  }
383
305
  try {
384
- const binding = require('@rush-fs/rush-fs-linux-arm64-musl')
385
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-arm64-musl/package.json').version
386
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
387
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
388
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
389
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
390
306
  const binding = require('@rush-fs/core-linux-arm64-musl')
391
307
  const bindingPackageVersion = require('@rush-fs/core-linux-arm64-musl/package.json').version
392
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
308
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
394
310
  }
395
311
  return binding
396
312
  } catch (e) {
@@ -403,16 +319,10 @@ function requireNative() {
403
319
  loadErrors.push(e)
404
320
  }
405
321
  try {
406
- const binding = require('@rush-fs/rush-fs-linux-arm64-gnu')
407
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-arm64-gnu/package.json').version
408
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
409
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
410
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
412
322
  const binding = require('@rush-fs/core-linux-arm64-gnu')
413
323
  const bindingPackageVersion = require('@rush-fs/core-linux-arm64-gnu/package.json').version
414
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
415
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
324
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
416
326
  }
417
327
  return binding
418
328
  } catch (e) {
@@ -427,16 +337,10 @@ function requireNative() {
427
337
  loadErrors.push(e)
428
338
  }
429
339
  try {
430
- const binding = require('@rush-fs/rush-fs-linux-arm-musleabihf')
431
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-arm-musleabihf/package.json').version
432
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
433
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
434
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
435
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
436
340
  const binding = require('@rush-fs/core-linux-arm-musleabihf')
437
341
  const bindingPackageVersion = require('@rush-fs/core-linux-arm-musleabihf/package.json').version
438
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
439
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
342
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
440
344
  }
441
345
  return binding
442
346
  } catch (e) {
@@ -449,16 +353,10 @@ function requireNative() {
449
353
  loadErrors.push(e)
450
354
  }
451
355
  try {
452
- const binding = require('@rush-fs/rush-fs-linux-arm-gnueabihf')
453
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-arm-gnueabihf/package.json').version
454
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
455
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
456
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
457
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
458
356
  const binding = require('@rush-fs/core-linux-arm-gnueabihf')
459
357
  const bindingPackageVersion = require('@rush-fs/core-linux-arm-gnueabihf/package.json').version
460
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
461
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
358
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
462
360
  }
463
361
  return binding
464
362
  } catch (e) {
@@ -473,16 +371,10 @@ function requireNative() {
473
371
  loadErrors.push(e)
474
372
  }
475
373
  try {
476
- const binding = require('@rush-fs/rush-fs-linux-loong64-musl')
477
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-loong64-musl/package.json').version
478
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
479
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
480
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
481
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
482
374
  const binding = require('@rush-fs/core-linux-loong64-musl')
483
375
  const bindingPackageVersion = require('@rush-fs/core-linux-loong64-musl/package.json').version
484
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
485
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
376
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
486
378
  }
487
379
  return binding
488
380
  } catch (e) {
@@ -495,16 +387,10 @@ function requireNative() {
495
387
  loadErrors.push(e)
496
388
  }
497
389
  try {
498
- const binding = require('@rush-fs/rush-fs-linux-loong64-gnu')
499
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-loong64-gnu/package.json').version
500
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
501
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
502
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
503
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
504
390
  const binding = require('@rush-fs/core-linux-loong64-gnu')
505
391
  const bindingPackageVersion = require('@rush-fs/core-linux-loong64-gnu/package.json').version
506
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
507
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
392
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
508
394
  }
509
395
  return binding
510
396
  } catch (e) {
@@ -519,16 +405,10 @@ function requireNative() {
519
405
  loadErrors.push(e)
520
406
  }
521
407
  try {
522
- const binding = require('@rush-fs/rush-fs-linux-riscv64-musl')
523
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-riscv64-musl/package.json').version
524
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
525
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
526
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
527
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
528
408
  const binding = require('@rush-fs/core-linux-riscv64-musl')
529
409
  const bindingPackageVersion = require('@rush-fs/core-linux-riscv64-musl/package.json').version
530
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
531
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
410
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
532
412
  }
533
413
  return binding
534
414
  } catch (e) {
@@ -541,16 +421,10 @@ function requireNative() {
541
421
  loadErrors.push(e)
542
422
  }
543
423
  try {
544
- const binding = require('@rush-fs/rush-fs-linux-riscv64-gnu')
545
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-riscv64-gnu/package.json').version
546
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
547
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
548
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
549
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
550
424
  const binding = require('@rush-fs/core-linux-riscv64-gnu')
551
425
  const bindingPackageVersion = require('@rush-fs/core-linux-riscv64-gnu/package.json').version
552
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
553
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
426
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
554
428
  }
555
429
  return binding
556
430
  } catch (e) {
@@ -564,16 +438,10 @@ function requireNative() {
564
438
  loadErrors.push(e)
565
439
  }
566
440
  try {
567
- const binding = require('@rush-fs/rush-fs-linux-ppc64-gnu')
568
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-ppc64-gnu/package.json').version
569
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
570
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
571
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
572
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
573
441
  const binding = require('@rush-fs/core-linux-ppc64-gnu')
574
442
  const bindingPackageVersion = require('@rush-fs/core-linux-ppc64-gnu/package.json').version
575
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
576
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
443
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
577
445
  }
578
446
  return binding
579
447
  } catch (e) {
@@ -586,16 +454,10 @@ function requireNative() {
586
454
  loadErrors.push(e)
587
455
  }
588
456
  try {
589
- const binding = require('@rush-fs/rush-fs-linux-s390x-gnu')
590
- const bindingPackageVersion = require('@rush-fs/rush-fs-linux-s390x-gnu/package.json').version
591
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
592
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
593
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
594
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
595
457
  const binding = require('@rush-fs/core-linux-s390x-gnu')
596
458
  const bindingPackageVersion = require('@rush-fs/core-linux-s390x-gnu/package.json').version
597
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
598
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
459
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
599
461
  }
600
462
  return binding
601
463
  } catch (e) {
@@ -612,16 +474,10 @@ function requireNative() {
612
474
  loadErrors.push(e)
613
475
  }
614
476
  try {
615
- const binding = require('@rush-fs/rush-fs-openharmony-arm64')
616
- const bindingPackageVersion = require('@rush-fs/rush-fs-openharmony-arm64/package.json').version
617
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
618
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
619
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
620
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
621
477
  const binding = require('@rush-fs/core-openharmony-arm64')
622
478
  const bindingPackageVersion = require('@rush-fs/core-openharmony-arm64/package.json').version
623
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
624
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
479
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
625
481
  }
626
482
  return binding
627
483
  } catch (e) {
@@ -634,16 +490,10 @@ function requireNative() {
634
490
  loadErrors.push(e)
635
491
  }
636
492
  try {
637
- const binding = require('@rush-fs/rush-fs-openharmony-x64')
638
- const bindingPackageVersion = require('@rush-fs/rush-fs-openharmony-x64/package.json').version
639
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
640
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
641
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
642
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
643
493
  const binding = require('@rush-fs/core-openharmony-x64')
644
494
  const bindingPackageVersion = require('@rush-fs/core-openharmony-x64/package.json').version
645
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
646
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
495
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
647
497
  }
648
498
  return binding
649
499
  } catch (e) {
@@ -656,16 +506,10 @@ function requireNative() {
656
506
  loadErrors.push(e)
657
507
  }
658
508
  try {
659
- const binding = require('@rush-fs/rush-fs-openharmony-arm')
660
- const bindingPackageVersion = require('@rush-fs/rush-fs-openharmony-arm/package.json').version
661
- if (bindingPackageVersion !== '0.0.5' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
662
- throw new Error(`Native binding package version mismatch, expected 0.0.5 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
663
- if (bindingPackageVersion !== '0.0.3' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
664
- throw new Error(`Native binding package version mismatch, expected 0.0.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
665
509
  const binding = require('@rush-fs/core-openharmony-arm')
666
510
  const bindingPackageVersion = require('@rush-fs/core-openharmony-arm/package.json').version
667
- if (bindingPackageVersion !== '0.1.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
668
- throw new Error(`Native binding package version mismatch, expected 0.1.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
511
+ if (bindingPackageVersion !== '0.1.0-beta.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
+ throw new Error(`Native binding package version mismatch, expected 0.1.0-beta.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
669
513
  }
670
514
  return binding
671
515
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rush-fs/core",
3
- "version": "0.1.0-alpha.0",
3
+ "version": "0.1.0-beta.0",
4
4
  "description": "High-performance drop-in replacement for Node.js fs module, powered by Rust",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -118,9 +118,9 @@
118
118
  },
119
119
  "packageManager": "pnpm@9.15.4",
120
120
  "optionalDependencies": {
121
- "@rush-fs/core-win32-x64-msvc": "0.1.0-alpha.0",
122
- "@rush-fs/core-darwin-x64": "0.1.0-alpha.0",
123
- "@rush-fs/core-linux-x64-gnu": "0.1.0-alpha.0",
124
- "@rush-fs/core-darwin-arm64": "0.1.0-alpha.0"
121
+ "@rush-fs/core-win32-x64-msvc": "0.1.0-beta.0",
122
+ "@rush-fs/core-darwin-x64": "0.1.0-beta.0",
123
+ "@rush-fs/core-linux-x64-gnu": "0.1.0-beta.0",
124
+ "@rush-fs/core-darwin-arm64": "0.1.0-beta.0"
125
125
  }
126
126
  }