@vue-jsx-vapor/compiler-rs 2.6.13 → 2.7.1

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 +68 -53
  2. package/package.json +16 -16
package/index.js CHANGED
@@ -3,9 +3,6 @@
3
3
  // @ts-nocheck
4
4
  /* auto-generated by NAPI-RS */
5
5
 
6
- const { createRequire } = require('node:module')
7
- require = createRequire(__filename)
8
-
9
6
  const { readFileSync } = require('node:fs')
10
7
  let nativeBinding = null
11
8
  const loadErrors = []
@@ -80,8 +77,8 @@ function requireNative() {
80
77
  try {
81
78
  const binding = require('@vue-jsx-vapor/compiler-rs-android-arm64')
82
79
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-android-arm64/package.json').version
83
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
84
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
80
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
85
82
  }
86
83
  return binding
87
84
  } catch (e) {
@@ -96,8 +93,8 @@ function requireNative() {
96
93
  try {
97
94
  const binding = require('@vue-jsx-vapor/compiler-rs-android-arm-eabi')
98
95
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-android-arm-eabi/package.json').version
99
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
100
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
96
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
101
98
  }
102
99
  return binding
103
100
  } catch (e) {
@@ -108,7 +105,24 @@ function requireNative() {
108
105
  }
109
106
  } else if (process.platform === 'win32') {
110
107
  if (process.arch === 'x64') {
108
+ if (process.config?.variables?.shlib_suffix === 'dll.a' || process.config?.variables?.node_target_type === 'shared_library') {
109
+ try {
110
+ return require('./compiler-rs.win32-x64-gnu.node')
111
+ } catch (e) {
112
+ loadErrors.push(e)
113
+ }
111
114
  try {
115
+ const binding = require('@vue-jsx-vapor/compiler-rs-win32-x64-gnu')
116
+ const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-win32-x64-gnu/package.json').version
117
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
119
+ }
120
+ return binding
121
+ } catch (e) {
122
+ loadErrors.push(e)
123
+ }
124
+ } else {
125
+ try {
112
126
  return require('./compiler-rs.win32-x64-msvc.node')
113
127
  } catch (e) {
114
128
  loadErrors.push(e)
@@ -116,13 +130,14 @@ function requireNative() {
116
130
  try {
117
131
  const binding = require('@vue-jsx-vapor/compiler-rs-win32-x64-msvc')
118
132
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-win32-x64-msvc/package.json').version
119
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
120
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
133
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
121
135
  }
122
136
  return binding
123
137
  } catch (e) {
124
138
  loadErrors.push(e)
125
139
  }
140
+ }
126
141
  } else if (process.arch === 'ia32') {
127
142
  try {
128
143
  return require('./compiler-rs.win32-ia32-msvc.node')
@@ -132,8 +147,8 @@ function requireNative() {
132
147
  try {
133
148
  const binding = require('@vue-jsx-vapor/compiler-rs-win32-ia32-msvc')
134
149
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-win32-ia32-msvc/package.json').version
135
- if (bindingPackageVersion !== '2.6.12' && 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 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
150
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
137
152
  }
138
153
  return binding
139
154
  } catch (e) {
@@ -148,8 +163,8 @@ function requireNative() {
148
163
  try {
149
164
  const binding = require('@vue-jsx-vapor/compiler-rs-win32-arm64-msvc')
150
165
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-win32-arm64-msvc/package.json').version
151
- if (bindingPackageVersion !== '2.6.12' && 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 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
166
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
153
168
  }
154
169
  return binding
155
170
  } catch (e) {
@@ -167,8 +182,8 @@ function requireNative() {
167
182
  try {
168
183
  const binding = require('@vue-jsx-vapor/compiler-rs-darwin-universal')
169
184
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-darwin-universal/package.json').version
170
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
171
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
185
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
172
187
  }
173
188
  return binding
174
189
  } catch (e) {
@@ -183,8 +198,8 @@ function requireNative() {
183
198
  try {
184
199
  const binding = require('@vue-jsx-vapor/compiler-rs-darwin-x64')
185
200
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-darwin-x64/package.json').version
186
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
187
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
201
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
188
203
  }
189
204
  return binding
190
205
  } catch (e) {
@@ -199,8 +214,8 @@ function requireNative() {
199
214
  try {
200
215
  const binding = require('@vue-jsx-vapor/compiler-rs-darwin-arm64')
201
216
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-darwin-arm64/package.json').version
202
- if (bindingPackageVersion !== '2.6.12' && 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 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
217
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
204
219
  }
205
220
  return binding
206
221
  } catch (e) {
@@ -219,8 +234,8 @@ function requireNative() {
219
234
  try {
220
235
  const binding = require('@vue-jsx-vapor/compiler-rs-freebsd-x64')
221
236
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-freebsd-x64/package.json').version
222
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
223
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
237
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
224
239
  }
225
240
  return binding
226
241
  } catch (e) {
@@ -235,8 +250,8 @@ function requireNative() {
235
250
  try {
236
251
  const binding = require('@vue-jsx-vapor/compiler-rs-freebsd-arm64')
237
252
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-freebsd-arm64/package.json').version
238
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
239
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
253
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
240
255
  }
241
256
  return binding
242
257
  } catch (e) {
@@ -256,8 +271,8 @@ function requireNative() {
256
271
  try {
257
272
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-x64-musl')
258
273
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-x64-musl/package.json').version
259
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
260
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
274
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
261
276
  }
262
277
  return binding
263
278
  } catch (e) {
@@ -272,8 +287,8 @@ function requireNative() {
272
287
  try {
273
288
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-x64-gnu')
274
289
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-x64-gnu/package.json').version
275
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
276
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
290
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
277
292
  }
278
293
  return binding
279
294
  } catch (e) {
@@ -290,8 +305,8 @@ function requireNative() {
290
305
  try {
291
306
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-arm64-musl')
292
307
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-arm64-musl/package.json').version
293
- if (bindingPackageVersion !== '2.6.12' && 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 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
308
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
295
310
  }
296
311
  return binding
297
312
  } catch (e) {
@@ -306,8 +321,8 @@ function requireNative() {
306
321
  try {
307
322
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-arm64-gnu')
308
323
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-arm64-gnu/package.json').version
309
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
310
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
324
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
311
326
  }
312
327
  return binding
313
328
  } catch (e) {
@@ -324,8 +339,8 @@ function requireNative() {
324
339
  try {
325
340
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-arm-musleabihf')
326
341
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-arm-musleabihf/package.json').version
327
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
328
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
342
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
329
344
  }
330
345
  return binding
331
346
  } catch (e) {
@@ -340,8 +355,8 @@ function requireNative() {
340
355
  try {
341
356
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-arm-gnueabihf')
342
357
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-arm-gnueabihf/package.json').version
343
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
344
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
358
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
345
360
  }
346
361
  return binding
347
362
  } catch (e) {
@@ -358,8 +373,8 @@ function requireNative() {
358
373
  try {
359
374
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-loong64-musl')
360
375
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-loong64-musl/package.json').version
361
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
362
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
376
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
363
378
  }
364
379
  return binding
365
380
  } catch (e) {
@@ -374,8 +389,8 @@ function requireNative() {
374
389
  try {
375
390
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-loong64-gnu')
376
391
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-loong64-gnu/package.json').version
377
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
378
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
392
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
379
394
  }
380
395
  return binding
381
396
  } catch (e) {
@@ -392,8 +407,8 @@ function requireNative() {
392
407
  try {
393
408
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-riscv64-musl')
394
409
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-riscv64-musl/package.json').version
395
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
396
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
410
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
397
412
  }
398
413
  return binding
399
414
  } catch (e) {
@@ -408,8 +423,8 @@ function requireNative() {
408
423
  try {
409
424
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-riscv64-gnu')
410
425
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-riscv64-gnu/package.json').version
411
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
412
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
426
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
413
428
  }
414
429
  return binding
415
430
  } catch (e) {
@@ -425,8 +440,8 @@ function requireNative() {
425
440
  try {
426
441
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-ppc64-gnu')
427
442
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-ppc64-gnu/package.json').version
428
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
429
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
443
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
430
445
  }
431
446
  return binding
432
447
  } catch (e) {
@@ -441,8 +456,8 @@ function requireNative() {
441
456
  try {
442
457
  const binding = require('@vue-jsx-vapor/compiler-rs-linux-s390x-gnu')
443
458
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-linux-s390x-gnu/package.json').version
444
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
445
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
459
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
446
461
  }
447
462
  return binding
448
463
  } catch (e) {
@@ -461,8 +476,8 @@ function requireNative() {
461
476
  try {
462
477
  const binding = require('@vue-jsx-vapor/compiler-rs-openharmony-arm64')
463
478
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-openharmony-arm64/package.json').version
464
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
465
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
479
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
466
481
  }
467
482
  return binding
468
483
  } catch (e) {
@@ -477,8 +492,8 @@ function requireNative() {
477
492
  try {
478
493
  const binding = require('@vue-jsx-vapor/compiler-rs-openharmony-x64')
479
494
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-openharmony-x64/package.json').version
480
- if (bindingPackageVersion !== '2.6.12' && 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 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
495
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
482
497
  }
483
498
  return binding
484
499
  } catch (e) {
@@ -493,8 +508,8 @@ function requireNative() {
493
508
  try {
494
509
  const binding = require('@vue-jsx-vapor/compiler-rs-openharmony-arm')
495
510
  const bindingPackageVersion = require('@vue-jsx-vapor/compiler-rs-openharmony-arm/package.json').version
496
- if (bindingPackageVersion !== '2.6.12' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
497
- throw new Error(`Native binding package version mismatch, expected 2.6.12 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
511
+ if (bindingPackageVersion !== '2.6.13' && 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 2.6.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
498
513
  }
499
514
  return binding
500
515
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-jsx-vapor/compiler-rs",
3
- "version": "2.6.13",
3
+ "version": "2.7.1",
4
4
  "packageManager": "pnpm@10.17.1",
5
5
  "description": "Template project for writing node package with napi-rs",
6
6
  "keywords": [
@@ -13,7 +13,7 @@
13
13
  ],
14
14
  "license": "MIT",
15
15
  "repository": {
16
- "url": "git+ssh://git@github.com/zhiyuanzmj/compiler-rs.git",
16
+ "url": "git+https://github.com/vuejs/vue-jsx-vapor.git",
17
17
  "type": "git"
18
18
  },
19
19
  "files": [
@@ -68,19 +68,19 @@
68
68
  "emnapi": "^1.5.0"
69
69
  },
70
70
  "optionalDependencies": {
71
- "@vue-jsx-vapor/compiler-rs-darwin-x64": "2.6.13",
72
- "@vue-jsx-vapor/compiler-rs-darwin-arm64": "2.6.13",
73
- "@vue-jsx-vapor/compiler-rs-linux-x64-gnu": "2.6.13",
74
- "@vue-jsx-vapor/compiler-rs-win32-x64-msvc": "2.6.13",
75
- "@vue-jsx-vapor/compiler-rs-linux-x64-musl": "2.6.13",
76
- "@vue-jsx-vapor/compiler-rs-linux-arm64-gnu": "2.6.13",
77
- "@vue-jsx-vapor/compiler-rs-win32-ia32-msvc": "2.6.13",
78
- "@vue-jsx-vapor/compiler-rs-linux-arm-gnueabihf": "2.6.13",
79
- "@vue-jsx-vapor/compiler-rs-android-arm64": "2.6.13",
80
- "@vue-jsx-vapor/compiler-rs-freebsd-x64": "2.6.13",
81
- "@vue-jsx-vapor/compiler-rs-linux-arm64-musl": "2.6.13",
82
- "@vue-jsx-vapor/compiler-rs-win32-arm64-msvc": "2.6.13",
83
- "@vue-jsx-vapor/compiler-rs-android-arm-eabi": "2.6.13",
84
- "@vue-jsx-vapor/compiler-rs-wasm32-wasi": "2.6.13"
71
+ "@vue-jsx-vapor/compiler-rs-darwin-x64": "2.7.1",
72
+ "@vue-jsx-vapor/compiler-rs-darwin-arm64": "2.7.1",
73
+ "@vue-jsx-vapor/compiler-rs-linux-x64-gnu": "2.7.1",
74
+ "@vue-jsx-vapor/compiler-rs-win32-x64-msvc": "2.7.1",
75
+ "@vue-jsx-vapor/compiler-rs-linux-x64-musl": "2.7.1",
76
+ "@vue-jsx-vapor/compiler-rs-linux-arm64-gnu": "2.7.1",
77
+ "@vue-jsx-vapor/compiler-rs-win32-ia32-msvc": "2.7.1",
78
+ "@vue-jsx-vapor/compiler-rs-linux-arm-gnueabihf": "2.7.1",
79
+ "@vue-jsx-vapor/compiler-rs-android-arm64": "2.7.1",
80
+ "@vue-jsx-vapor/compiler-rs-freebsd-x64": "2.7.1",
81
+ "@vue-jsx-vapor/compiler-rs-linux-arm64-musl": "2.7.1",
82
+ "@vue-jsx-vapor/compiler-rs-win32-arm64-msvc": "2.7.1",
83
+ "@vue-jsx-vapor/compiler-rs-android-arm-eabi": "2.7.1",
84
+ "@vue-jsx-vapor/compiler-rs-wasm32-wasi": "2.7.1"
85
85
  }
86
86
  }