oxlint 1.47.0 → 1.49.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.
package/dist/bindings.js CHANGED
@@ -36,7 +36,7 @@ function requireNative() {
36
36
  }
37
37
  try {
38
38
  let binding = require("@oxlint/binding-android-arm64"), bindingPackageVersion = require("@oxlint/binding-android-arm64/package.json").version;
39
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
39
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
40
40
  return binding;
41
41
  } catch (e) {
42
42
  loadErrors.push(e);
@@ -49,7 +49,7 @@ function requireNative() {
49
49
  }
50
50
  try {
51
51
  let binding = require("@oxlint/binding-android-arm-eabi"), bindingPackageVersion = require("@oxlint/binding-android-arm-eabi/package.json").version;
52
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
52
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
53
53
  return binding;
54
54
  } catch (e) {
55
55
  loadErrors.push(e);
@@ -63,7 +63,7 @@ function requireNative() {
63
63
  }
64
64
  try {
65
65
  let binding = require("@oxlint/binding-win32-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-win32-x64-gnu/package.json").version;
66
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
66
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
67
67
  return binding;
68
68
  } catch (e) {
69
69
  loadErrors.push(e);
@@ -76,7 +76,7 @@ function requireNative() {
76
76
  }
77
77
  try {
78
78
  let binding = require("@oxlint/binding-win32-x64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-x64-msvc/package.json").version;
79
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
79
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
80
80
  return binding;
81
81
  } catch (e) {
82
82
  loadErrors.push(e);
@@ -90,7 +90,7 @@ function requireNative() {
90
90
  }
91
91
  try {
92
92
  let binding = require("@oxlint/binding-win32-ia32-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-ia32-msvc/package.json").version;
93
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
93
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
94
94
  return binding;
95
95
  } catch (e) {
96
96
  loadErrors.push(e);
@@ -103,7 +103,7 @@ function requireNative() {
103
103
  }
104
104
  try {
105
105
  let binding = require("@oxlint/binding-win32-arm64-msvc"), bindingPackageVersion = require("@oxlint/binding-win32-arm64-msvc/package.json").version;
106
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
106
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
107
107
  return binding;
108
108
  } catch (e) {
109
109
  loadErrors.push(e);
@@ -117,7 +117,7 @@ function requireNative() {
117
117
  }
118
118
  try {
119
119
  let binding = require("@oxlint/binding-darwin-universal"), bindingPackageVersion = require("@oxlint/binding-darwin-universal/package.json").version;
120
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
120
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
121
121
  return binding;
122
122
  } catch (e) {
123
123
  loadErrors.push(e);
@@ -130,7 +130,7 @@ function requireNative() {
130
130
  }
131
131
  try {
132
132
  let binding = require("@oxlint/binding-darwin-x64"), bindingPackageVersion = require("@oxlint/binding-darwin-x64/package.json").version;
133
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
133
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
134
134
  return binding;
135
135
  } catch (e) {
136
136
  loadErrors.push(e);
@@ -143,7 +143,7 @@ function requireNative() {
143
143
  }
144
144
  try {
145
145
  let binding = require("@oxlint/binding-darwin-arm64"), bindingPackageVersion = require("@oxlint/binding-darwin-arm64/package.json").version;
146
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
146
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
147
147
  return binding;
148
148
  } catch (e) {
149
149
  loadErrors.push(e);
@@ -157,7 +157,7 @@ function requireNative() {
157
157
  }
158
158
  try {
159
159
  let binding = require("@oxlint/binding-freebsd-x64"), bindingPackageVersion = require("@oxlint/binding-freebsd-x64/package.json").version;
160
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
160
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
161
161
  return binding;
162
162
  } catch (e) {
163
163
  loadErrors.push(e);
@@ -170,7 +170,7 @@ function requireNative() {
170
170
  }
171
171
  try {
172
172
  let binding = require("@oxlint/binding-freebsd-arm64"), bindingPackageVersion = require("@oxlint/binding-freebsd-arm64/package.json").version;
173
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
173
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
174
174
  return binding;
175
175
  } catch (e) {
176
176
  loadErrors.push(e);
@@ -184,7 +184,7 @@ function requireNative() {
184
184
  }
185
185
  try {
186
186
  let binding = require("@oxlint/binding-linux-x64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-x64-musl/package.json").version;
187
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
187
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
188
188
  return binding;
189
189
  } catch (e) {
190
190
  loadErrors.push(e);
@@ -197,7 +197,7 @@ function requireNative() {
197
197
  }
198
198
  try {
199
199
  let binding = require("@oxlint/binding-linux-x64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-x64-gnu/package.json").version;
200
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
200
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
201
201
  return binding;
202
202
  } catch (e) {
203
203
  loadErrors.push(e);
@@ -211,7 +211,7 @@ function requireNative() {
211
211
  }
212
212
  try {
213
213
  let binding = require("@oxlint/binding-linux-arm64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-musl/package.json").version;
214
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
214
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
215
215
  return binding;
216
216
  } catch (e) {
217
217
  loadErrors.push(e);
@@ -224,7 +224,7 @@ function requireNative() {
224
224
  }
225
225
  try {
226
226
  let binding = require("@oxlint/binding-linux-arm64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-arm64-gnu/package.json").version;
227
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
227
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
228
228
  return binding;
229
229
  } catch (e) {
230
230
  loadErrors.push(e);
@@ -238,7 +238,7 @@ function requireNative() {
238
238
  }
239
239
  try {
240
240
  let binding = require("@oxlint/binding-linux-arm-musleabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-musleabihf/package.json").version;
241
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
241
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
242
242
  return binding;
243
243
  } catch (e) {
244
244
  loadErrors.push(e);
@@ -251,7 +251,7 @@ function requireNative() {
251
251
  }
252
252
  try {
253
253
  let binding = require("@oxlint/binding-linux-arm-gnueabihf"), bindingPackageVersion = require("@oxlint/binding-linux-arm-gnueabihf/package.json").version;
254
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
254
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
255
255
  return binding;
256
256
  } catch (e) {
257
257
  loadErrors.push(e);
@@ -265,7 +265,7 @@ function requireNative() {
265
265
  }
266
266
  try {
267
267
  let binding = require("@oxlint/binding-linux-loong64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-musl/package.json").version;
268
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
268
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
269
269
  return binding;
270
270
  } catch (e) {
271
271
  loadErrors.push(e);
@@ -278,7 +278,7 @@ function requireNative() {
278
278
  }
279
279
  try {
280
280
  let binding = require("@oxlint/binding-linux-loong64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-loong64-gnu/package.json").version;
281
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
281
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
282
282
  return binding;
283
283
  } catch (e) {
284
284
  loadErrors.push(e);
@@ -292,7 +292,7 @@ function requireNative() {
292
292
  }
293
293
  try {
294
294
  let binding = require("@oxlint/binding-linux-riscv64-musl"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-musl/package.json").version;
295
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
295
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
296
296
  return binding;
297
297
  } catch (e) {
298
298
  loadErrors.push(e);
@@ -305,7 +305,7 @@ function requireNative() {
305
305
  }
306
306
  try {
307
307
  let binding = require("@oxlint/binding-linux-riscv64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-riscv64-gnu/package.json").version;
308
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
308
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
309
309
  return binding;
310
310
  } catch (e) {
311
311
  loadErrors.push(e);
@@ -319,7 +319,7 @@ function requireNative() {
319
319
  }
320
320
  try {
321
321
  let binding = require("@oxlint/binding-linux-ppc64-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-ppc64-gnu/package.json").version;
322
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
322
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
323
323
  return binding;
324
324
  } catch (e) {
325
325
  loadErrors.push(e);
@@ -332,7 +332,7 @@ function requireNative() {
332
332
  }
333
333
  try {
334
334
  let binding = require("@oxlint/binding-linux-s390x-gnu"), bindingPackageVersion = require("@oxlint/binding-linux-s390x-gnu/package.json").version;
335
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
335
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
336
336
  return binding;
337
337
  } catch (e) {
338
338
  loadErrors.push(e);
@@ -346,7 +346,7 @@ function requireNative() {
346
346
  }
347
347
  try {
348
348
  let binding = require("@oxlint/binding-openharmony-arm64"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm64/package.json").version;
349
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
349
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
350
350
  return binding;
351
351
  } catch (e) {
352
352
  loadErrors.push(e);
@@ -359,7 +359,7 @@ function requireNative() {
359
359
  }
360
360
  try {
361
361
  let binding = require("@oxlint/binding-openharmony-x64"), bindingPackageVersion = require("@oxlint/binding-openharmony-x64/package.json").version;
362
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
362
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
363
363
  return binding;
364
364
  } catch (e) {
365
365
  loadErrors.push(e);
@@ -372,7 +372,7 @@ function requireNative() {
372
372
  }
373
373
  try {
374
374
  let binding = require("@oxlint/binding-openharmony-arm"), bindingPackageVersion = require("@oxlint/binding-openharmony-arm/package.json").version;
375
- if (bindingPackageVersion !== "1.47.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.47.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
375
+ if (bindingPackageVersion !== "1.49.0" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw Error(`Native binding package version mismatch, expected 1.49.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
376
376
  return binding;
377
377
  } catch (e) {
378
378
  loadErrors.push(e);
package/dist/lint.js CHANGED
@@ -12335,6 +12335,7 @@ function initSettings() {
12335
12335
  function resetSettings() {
12336
12336
  settings = null, settingsJSON = null;
12337
12337
  }
12338
+ var version = "1.49.0";
12338
12339
  let filePath = null, cwd = null;
12339
12340
  function setCwd(cwdInput) {
12340
12341
  cwd = cwdInput;
@@ -12363,8 +12364,8 @@ const SUPPORTED_ECMA_VERSIONS = ObjectFreeze([
12363
12364
  ]);
12364
12365
  let Syntax = null;
12365
12366
  const PARSER = ObjectFreeze({
12366
- name: "oxc",
12367
- version: "0.0.0",
12367
+ name: "oxlint",
12368
+ version,
12368
12369
  parse(code, options) {
12369
12370
  throw Error("`context.languageOptions.parser.parse` not implemented yet.");
12370
12371
  },
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/is-any.d.ts
1
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/is-any.d.ts
2
2
  /**
3
3
  Returns a boolean for whether the given type is `any`.
4
4
 
@@ -29,7 +29,7 @@ const anyA = get(anyObject, 'a');
29
29
  */
30
30
  type IsAny<T> = 0 extends 1 & NoInfer<T> ? true : false;
31
31
  //#endregion
32
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/is-optional-key-of.d.ts
32
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/is-optional-key-of.d.ts
33
33
  /**
34
34
  Returns a boolean for whether the given key is an optional key of type.
35
35
 
@@ -72,7 +72,7 @@ type T5 = IsOptionalKeyOf<User | Admin, 'surname'>;
72
72
  */
73
73
  type IsOptionalKeyOf<Type extends object, Key extends keyof Type> = IsAny<Type | Key> extends true ? never : Key extends keyof Type ? Type extends Record<Key, Type[Key]> ? false : true : false;
74
74
  //#endregion
75
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/optional-keys-of.d.ts
75
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/optional-keys-of.d.ts
76
76
  /**
77
77
  Extract all optional keys from the given type.
78
78
 
@@ -110,7 +110,7 @@ type OptionalKeysOf<Type extends object> = Type extends unknown // For distribut
110
110
  ? (keyof { [Key in keyof Type as IsOptionalKeyOf<Type, Key> extends false ? never : Key]: never }) & keyof Type // Intersect with `keyof Type` to ensure result of `OptionalKeysOf<Type>` is always assignable to `keyof Type`
111
111
  : never;
112
112
  //#endregion
113
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/required-keys-of.d.ts
113
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/required-keys-of.d.ts
114
114
  /**
115
115
  Extract all required keys from the given type.
116
116
 
@@ -144,7 +144,7 @@ const validator3 = createValidation<User>('luckyNumber', value => value > 0);
144
144
  type RequiredKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
145
145
  ? Exclude<keyof Type, OptionalKeysOf<Type>> : never;
146
146
  //#endregion
147
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/is-never.d.ts
147
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/is-never.d.ts
148
148
  /**
149
149
  Returns a boolean for whether the given type is `never`.
150
150
 
@@ -200,7 +200,7 @@ type B = IsTrueFixed<never>;
200
200
  */
201
201
  type IsNever<T> = [T] extends [never] ? true : false;
202
202
  //#endregion
203
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/if.d.ts
203
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/if.d.ts
204
204
  /**
205
205
  An if-else-like type that resolves depending on whether the given `boolean` type is `true` or `false`.
206
206
 
@@ -295,7 +295,7 @@ type Works = IncludesWithoutIf<HundredZeroes, '1'>;
295
295
  */
296
296
  type If<Type extends boolean, IfBranch, ElseBranch> = IsNever<Type> extends true ? ElseBranch : Type extends true ? IfBranch : ElseBranch;
297
297
  //#endregion
298
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/internal/type.d.ts
298
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/internal/type.d.ts
299
299
  /**
300
300
  An if-else-like type that resolves depending on whether the given type is `any` or `never`.
301
301
 
@@ -342,7 +342,7 @@ type T2 = TrimLeftOptimised<NineHundredNinetyNineSpaces>;
342
342
  */
343
343
  type IfNotAnyOrNever<T, IfNotAnyOrNever, IfAny = any, IfNever = never> = If<IsAny<T>, IfAny, If<IsNever<T>, IfNever, IfNotAnyOrNever>>;
344
344
  //#endregion
345
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/simplify.d.ts
345
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/simplify.d.ts
346
346
  /**
347
347
  Useful to flatten the type output to improve type hints shown in editors. And also to transform an interface into a type to aide with assignability.
348
348
 
@@ -403,7 +403,7 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
403
403
  */
404
404
  type Simplify<T> = { [KeyType in keyof T]: T[KeyType] } & {};
405
405
  //#endregion
406
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/is-equal.d.ts
406
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/is-equal.d.ts
407
407
  /**
408
408
  Returns a boolean for whether the two given types are equal.
409
409
 
@@ -434,7 +434,7 @@ type IsEqual<A, B> = [A] extends [B] ? [B] extends [A] ? _IsEqual<A, B> : false
434
434
  // This version fails the `equalWrappedTupleIntersectionToBeNeverAndNeverExpanded` test in `test-d/is-equal.ts`.
435
435
  type _IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false;
436
436
  //#endregion
437
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/omit-index-signature.d.ts
437
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/omit-index-signature.d.ts
438
438
  /**
439
439
  Omit any index signatures from the given object type, leaving only explicitly defined properties.
440
440
 
@@ -528,7 +528,7 @@ type ExampleWithoutIndexSignatures = OmitIndexSignature<Example>;
528
528
  */
529
529
  type OmitIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? never : KeyType]: ObjectType[KeyType] };
530
530
  //#endregion
531
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/pick-index-signature.d.ts
531
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/pick-index-signature.d.ts
532
532
  /**
533
533
  Pick only index signatures from the given object type, leaving out all explicitly defined properties.
534
534
 
@@ -576,7 +576,7 @@ type ExampleIndexSignature = PickIndexSignature<Example>;
576
576
  */
577
577
  type PickIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? KeyType : never]: ObjectType[KeyType] };
578
578
  //#endregion
579
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/merge.d.ts
579
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/merge.d.ts
580
580
  // Merges two objects without worrying about index signatures.
581
581
  type SimpleMerge<Destination, Source> = Simplify<{ [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key] } & Source>;
582
582
  /**
@@ -623,7 +623,7 @@ type Merge<Destination, Source> = Destination extends unknown // For distributin
623
623
  // Should never happen
624
624
  type _Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
625
625
  //#endregion
626
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/internal/object.d.ts
626
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/internal/object.d.ts
627
627
  /**
628
628
  Merges user specified options with default options.
629
629
 
@@ -678,7 +678,7 @@ type Result = ApplyDefaultOptions<PathsOptions, DefaultPathsOptions, SpecifiedOp
678
678
  */
679
679
  type ApplyDefaultOptions<Options extends object, Defaults extends Simplify<Omit<Required<Options>, RequiredKeysOf<Options>> & Partial<Record<RequiredKeysOf<Options>, never>>>, SpecifiedOptions extends Options> = If<IsAny<SpecifiedOptions>, Defaults, If<IsNever<SpecifiedOptions>, Defaults, Simplify<Merge<Defaults, { [Key in keyof SpecifiedOptions as Key extends OptionalKeysOf<Options> ? undefined extends SpecifiedOptions[Key] ? never : Key : Key]: SpecifiedOptions[Key] }> & Required<Options>>>>;
680
680
  //#endregion
681
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/except.d.ts
681
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/except.d.ts
682
682
  /**
683
683
  Filter out keys from an object.
684
684
 
@@ -776,7 +776,7 @@ type PostPayloadFixed = Except<UserData, 'email'>;
776
776
  type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {}> = _Except<ObjectType, KeysType, ApplyDefaultOptions<ExceptOptions, DefaultExceptOptions, Options>>;
777
777
  type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = { [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType] } & (Options['requireExactProps'] extends true ? Partial<Record<KeysType, never>> : {});
778
778
  //#endregion
779
- //#region ../../node_modules/.pnpm/type-fest@5.4.3/node_modules/type-fest/source/require-at-least-one.d.ts
779
+ //#region ../../node_modules/.pnpm/type-fest@5.4.4/node_modules/type-fest/source/require-at-least-one.d.ts
780
780
  /**
781
781
  Create a type that requires at least one of the given keys. The remaining keys are kept as is.
782
782
 
@@ -3238,9 +3238,6 @@ type Identifier = IdentifierName | IdentifierReference | BindingIdentifier | Lab
3238
3238
  /**
3239
3239
  * Discard TS-ESLint `ScopeManager`, to free memory.
3240
3240
  */
3241
- /**
3242
- * @see https://eslint.org/docs/latest/developer-guide/scope-manager-interface#scopemanager-interface
3243
- */
3244
3241
  declare const SCOPE_MANAGER: Readonly<{
3245
3242
  /**
3246
3243
  * All scopes.
@@ -3415,11 +3412,11 @@ declare const LANGUAGE_OPTIONS: {
3415
3412
  /**
3416
3413
  * Parser name.
3417
3414
  */
3418
- name: "oxc";
3415
+ name: "oxlint";
3419
3416
  /**
3420
3417
  * Parser version.
3421
3418
  */
3422
- version: "0.0.0";
3419
+ version: string;
3423
3420
  /**
3424
3421
  * Parse code into an AST.
3425
3422
  * @param code - Code to parse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oxlint",
3
- "version": "1.47.0",
3
+ "version": "1.49.0",
4
4
  "description": "Linter for the JavaScript Oxidation Compiler",
5
5
  "keywords": [
6
6
  "eslint",
@@ -45,7 +45,7 @@
45
45
  }
46
46
  },
47
47
  "peerDependencies": {
48
- "oxlint-tsgolint": ">=0.11.2"
48
+ "oxlint-tsgolint": ">=0.14.1"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "oxlint-tsgolint": {
@@ -81,24 +81,24 @@
81
81
  "node": "^20.19.0 || >=22.12.0"
82
82
  },
83
83
  "optionalDependencies": {
84
- "@oxlint/binding-darwin-arm64": "1.47.0",
85
- "@oxlint/binding-android-arm64": "1.47.0",
86
- "@oxlint/binding-win32-arm64-msvc": "1.47.0",
87
- "@oxlint/binding-linux-arm64-gnu": "1.47.0",
88
- "@oxlint/binding-linux-arm64-musl": "1.47.0",
89
- "@oxlint/binding-openharmony-arm64": "1.47.0",
90
- "@oxlint/binding-android-arm-eabi": "1.47.0",
91
- "@oxlint/binding-linux-arm-gnueabihf": "1.47.0",
92
- "@oxlint/binding-linux-arm-musleabihf": "1.47.0",
93
- "@oxlint/binding-win32-ia32-msvc": "1.47.0",
94
- "@oxlint/binding-linux-ppc64-gnu": "1.47.0",
95
- "@oxlint/binding-linux-riscv64-gnu": "1.47.0",
96
- "@oxlint/binding-linux-riscv64-musl": "1.47.0",
97
- "@oxlint/binding-linux-s390x-gnu": "1.47.0",
98
- "@oxlint/binding-darwin-x64": "1.47.0",
99
- "@oxlint/binding-win32-x64-msvc": "1.47.0",
100
- "@oxlint/binding-freebsd-x64": "1.47.0",
101
- "@oxlint/binding-linux-x64-gnu": "1.47.0",
102
- "@oxlint/binding-linux-x64-musl": "1.47.0"
84
+ "@oxlint/binding-darwin-arm64": "1.49.0",
85
+ "@oxlint/binding-android-arm64": "1.49.0",
86
+ "@oxlint/binding-win32-arm64-msvc": "1.49.0",
87
+ "@oxlint/binding-linux-arm64-gnu": "1.49.0",
88
+ "@oxlint/binding-linux-arm64-musl": "1.49.0",
89
+ "@oxlint/binding-openharmony-arm64": "1.49.0",
90
+ "@oxlint/binding-android-arm-eabi": "1.49.0",
91
+ "@oxlint/binding-linux-arm-gnueabihf": "1.49.0",
92
+ "@oxlint/binding-linux-arm-musleabihf": "1.49.0",
93
+ "@oxlint/binding-win32-ia32-msvc": "1.49.0",
94
+ "@oxlint/binding-linux-ppc64-gnu": "1.49.0",
95
+ "@oxlint/binding-linux-riscv64-gnu": "1.49.0",
96
+ "@oxlint/binding-linux-riscv64-musl": "1.49.0",
97
+ "@oxlint/binding-linux-s390x-gnu": "1.49.0",
98
+ "@oxlint/binding-darwin-x64": "1.49.0",
99
+ "@oxlint/binding-win32-x64-msvc": "1.49.0",
100
+ "@oxlint/binding-freebsd-x64": "1.49.0",
101
+ "@oxlint/binding-linux-x64-gnu": "1.49.0",
102
+ "@oxlint/binding-linux-x64-musl": "1.49.0"
103
103
  }
104
104
  }