grepmax 0.26.52 → 0.26.54

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.
@@ -76,8 +76,8 @@ function requireNative() {
76
76
  try {
77
77
  const binding = require('@lancedb/lancedb-android-arm64');
78
78
  const bindingPackageVersion = require('@lancedb/lancedb-android-arm64/package.json').version;
79
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
80
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
79
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
80
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
81
81
  }
82
82
  return binding;
83
83
  }
@@ -95,8 +95,8 @@ function requireNative() {
95
95
  try {
96
96
  const binding = require('@lancedb/lancedb-android-arm-eabi');
97
97
  const bindingPackageVersion = require('@lancedb/lancedb-android-arm-eabi/package.json').version;
98
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
99
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
98
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
99
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
100
100
  }
101
101
  return binding;
102
102
  }
@@ -120,8 +120,8 @@ function requireNative() {
120
120
  try {
121
121
  const binding = require('@lancedb/lancedb-win32-x64-gnu');
122
122
  const bindingPackageVersion = require('@lancedb/lancedb-win32-x64-gnu/package.json').version;
123
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
124
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
123
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
124
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
125
125
  }
126
126
  return binding;
127
127
  }
@@ -139,8 +139,8 @@ function requireNative() {
139
139
  try {
140
140
  const binding = require('@lancedb/lancedb-win32-x64-msvc');
141
141
  const bindingPackageVersion = require('@lancedb/lancedb-win32-x64-msvc/package.json').version;
142
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
143
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
142
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
143
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
144
144
  }
145
145
  return binding;
146
146
  }
@@ -159,8 +159,8 @@ function requireNative() {
159
159
  try {
160
160
  const binding = require('@lancedb/lancedb-win32-ia32-msvc');
161
161
  const bindingPackageVersion = require('@lancedb/lancedb-win32-ia32-msvc/package.json').version;
162
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
163
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
162
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
163
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
164
164
  }
165
165
  return binding;
166
166
  }
@@ -178,8 +178,8 @@ function requireNative() {
178
178
  try {
179
179
  const binding = require('@lancedb/lancedb-win32-arm64-msvc');
180
180
  const bindingPackageVersion = require('@lancedb/lancedb-win32-arm64-msvc/package.json').version;
181
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
182
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
181
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
182
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
183
183
  }
184
184
  return binding;
185
185
  }
@@ -201,8 +201,8 @@ function requireNative() {
201
201
  try {
202
202
  const binding = require('@lancedb/lancedb-darwin-universal');
203
203
  const bindingPackageVersion = require('@lancedb/lancedb-darwin-universal/package.json').version;
204
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
205
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
204
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
205
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
206
206
  }
207
207
  return binding;
208
208
  }
@@ -219,8 +219,8 @@ function requireNative() {
219
219
  try {
220
220
  const binding = require('@lancedb/lancedb-darwin-x64');
221
221
  const bindingPackageVersion = require('@lancedb/lancedb-darwin-x64/package.json').version;
222
- if (bindingPackageVersion !== '0.38.0' && 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 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
222
+ if (bindingPackageVersion !== '0.39.0' && 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 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
224
224
  }
225
225
  return binding;
226
226
  }
@@ -238,8 +238,8 @@ function requireNative() {
238
238
  try {
239
239
  const binding = require('@lancedb/lancedb-darwin-arm64');
240
240
  const bindingPackageVersion = require('@lancedb/lancedb-darwin-arm64/package.json').version;
241
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
242
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
241
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
242
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
243
243
  }
244
244
  return binding;
245
245
  }
@@ -262,8 +262,8 @@ function requireNative() {
262
262
  try {
263
263
  const binding = require('@lancedb/lancedb-freebsd-x64');
264
264
  const bindingPackageVersion = require('@lancedb/lancedb-freebsd-x64/package.json').version;
265
- if (bindingPackageVersion !== '0.38.0' && 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.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
265
+ if (bindingPackageVersion !== '0.39.0' && 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.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
267
267
  }
268
268
  return binding;
269
269
  }
@@ -281,8 +281,8 @@ function requireNative() {
281
281
  try {
282
282
  const binding = require('@lancedb/lancedb-freebsd-arm64');
283
283
  const bindingPackageVersion = require('@lancedb/lancedb-freebsd-arm64/package.json').version;
284
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
285
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
284
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
285
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
286
286
  }
287
287
  return binding;
288
288
  }
@@ -306,8 +306,8 @@ function requireNative() {
306
306
  try {
307
307
  const binding = require('@lancedb/lancedb-linux-x64-musl');
308
308
  const bindingPackageVersion = require('@lancedb/lancedb-linux-x64-musl/package.json').version;
309
- if (bindingPackageVersion !== '0.38.0' && 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 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
309
+ if (bindingPackageVersion !== '0.39.0' && 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 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
311
311
  }
312
312
  return binding;
313
313
  }
@@ -325,8 +325,8 @@ function requireNative() {
325
325
  try {
326
326
  const binding = require('@lancedb/lancedb-linux-x64-gnu');
327
327
  const bindingPackageVersion = require('@lancedb/lancedb-linux-x64-gnu/package.json').version;
328
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
329
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
328
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
329
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
330
330
  }
331
331
  return binding;
332
332
  }
@@ -346,8 +346,8 @@ function requireNative() {
346
346
  try {
347
347
  const binding = require('@lancedb/lancedb-linux-arm64-musl');
348
348
  const bindingPackageVersion = require('@lancedb/lancedb-linux-arm64-musl/package.json').version;
349
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
350
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
349
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
350
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
351
351
  }
352
352
  return binding;
353
353
  }
@@ -365,8 +365,8 @@ function requireNative() {
365
365
  try {
366
366
  const binding = require('@lancedb/lancedb-linux-arm64-gnu');
367
367
  const bindingPackageVersion = require('@lancedb/lancedb-linux-arm64-gnu/package.json').version;
368
- if (bindingPackageVersion !== '0.38.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.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
368
+ if (bindingPackageVersion !== '0.39.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.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
370
370
  }
371
371
  return binding;
372
372
  }
@@ -386,8 +386,8 @@ function requireNative() {
386
386
  try {
387
387
  const binding = require('@lancedb/lancedb-linux-arm-musleabihf');
388
388
  const bindingPackageVersion = require('@lancedb/lancedb-linux-arm-musleabihf/package.json').version;
389
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
390
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
389
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
390
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
391
391
  }
392
392
  return binding;
393
393
  }
@@ -405,8 +405,8 @@ function requireNative() {
405
405
  try {
406
406
  const binding = require('@lancedb/lancedb-linux-arm-gnueabihf');
407
407
  const bindingPackageVersion = require('@lancedb/lancedb-linux-arm-gnueabihf/package.json').version;
408
- if (bindingPackageVersion !== '0.38.0' && 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.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
408
+ if (bindingPackageVersion !== '0.39.0' && 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.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
410
410
  }
411
411
  return binding;
412
412
  }
@@ -426,8 +426,8 @@ function requireNative() {
426
426
  try {
427
427
  const binding = require('@lancedb/lancedb-linux-loong64-musl');
428
428
  const bindingPackageVersion = require('@lancedb/lancedb-linux-loong64-musl/package.json').version;
429
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
430
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
429
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
430
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
431
431
  }
432
432
  return binding;
433
433
  }
@@ -445,8 +445,8 @@ function requireNative() {
445
445
  try {
446
446
  const binding = require('@lancedb/lancedb-linux-loong64-gnu');
447
447
  const bindingPackageVersion = require('@lancedb/lancedb-linux-loong64-gnu/package.json').version;
448
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
449
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
448
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
449
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
450
450
  }
451
451
  return binding;
452
452
  }
@@ -466,8 +466,8 @@ function requireNative() {
466
466
  try {
467
467
  const binding = require('@lancedb/lancedb-linux-riscv64-musl');
468
468
  const bindingPackageVersion = require('@lancedb/lancedb-linux-riscv64-musl/package.json').version;
469
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
470
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
469
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
470
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
471
471
  }
472
472
  return binding;
473
473
  }
@@ -485,8 +485,8 @@ function requireNative() {
485
485
  try {
486
486
  const binding = require('@lancedb/lancedb-linux-riscv64-gnu');
487
487
  const bindingPackageVersion = require('@lancedb/lancedb-linux-riscv64-gnu/package.json').version;
488
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
489
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
488
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
489
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
490
490
  }
491
491
  return binding;
492
492
  }
@@ -505,8 +505,8 @@ function requireNative() {
505
505
  try {
506
506
  const binding = require('@lancedb/lancedb-linux-ppc64-gnu');
507
507
  const bindingPackageVersion = require('@lancedb/lancedb-linux-ppc64-gnu/package.json').version;
508
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
509
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
508
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
509
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
510
510
  }
511
511
  return binding;
512
512
  }
@@ -524,8 +524,8 @@ function requireNative() {
524
524
  try {
525
525
  const binding = require('@lancedb/lancedb-linux-s390x-gnu');
526
526
  const bindingPackageVersion = require('@lancedb/lancedb-linux-s390x-gnu/package.json').version;
527
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
528
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
527
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
528
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
529
529
  }
530
530
  return binding;
531
531
  }
@@ -548,8 +548,8 @@ function requireNative() {
548
548
  try {
549
549
  const binding = require('@lancedb/lancedb-openharmony-arm64');
550
550
  const bindingPackageVersion = require('@lancedb/lancedb-openharmony-arm64/package.json').version;
551
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
552
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
551
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
552
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
553
553
  }
554
554
  return binding;
555
555
  }
@@ -567,8 +567,8 @@ function requireNative() {
567
567
  try {
568
568
  const binding = require('@lancedb/lancedb-openharmony-x64');
569
569
  const bindingPackageVersion = require('@lancedb/lancedb-openharmony-x64/package.json').version;
570
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
571
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
570
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
571
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
572
572
  }
573
573
  return binding;
574
574
  }
@@ -586,8 +586,8 @@ function requireNative() {
586
586
  try {
587
587
  const binding = require('@lancedb/lancedb-openharmony-arm');
588
588
  const bindingPackageVersion = require('@lancedb/lancedb-openharmony-arm/package.json').version;
589
- if (bindingPackageVersion !== '0.38.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
590
- throw new Error(`Native binding package version mismatch, expected 0.38.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
589
+ if (bindingPackageVersion !== '0.39.0' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
590
+ throw new Error(`Native binding package version mismatch, expected 0.39.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
591
591
  }
592
592
  return binding;
593
593
  }
@@ -661,6 +661,7 @@ if (!nativeBinding) {
661
661
  throw new Error(`Failed to load native binding`);
662
662
  }
663
663
  module.exports = nativeBinding;
664
+ module.exports.BlobFile = nativeBinding.BlobFile;
664
665
  module.exports.BranchContents = nativeBinding.BranchContents;
665
666
  module.exports.Branches = nativeBinding.Branches;
666
667
  module.exports.Connection = nativeBinding.Connection;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@lancedb/lancedb",
3
- "version": "0.38.0",
3
+ "version": "0.39.0",
4
4
  "upstream": "https://github.com/lancedb/lancedb",
5
- "entrySha256": "6c0f7957a77e4c77f8e610784efa8c9eb6410a42ed24d12f075dfacb2c210ffa"
5
+ "entrySha256": "d4a67ab8e7985423692d3a40a0ecfe125165e5d95438b7a369f094105dcfd3c1"
6
6
  }
@@ -27,7 +27,7 @@ exports.sanitizeTable = sanitizeTable;
27
27
  exports.dataTypeFromName = dataTypeFromName;
28
28
  // The utilities in this file help sanitize data from the user's arrow
29
29
  // library into the types expected by vectordb's arrow library. Node
30
- // generally allows for mulitple versions of the same library (and sometimes
30
+ // generally allows for multiple versions of the same library (and sometimes
31
31
  // even multiple copies of the same version) to be installed at the same
32
32
  // time. However, arrow-js uses instanceof which expected that the input
33
33
  // comes from the exact same library instance. This is not always the case
@@ -1,7 +1,9 @@
1
1
  import { Table as ArrowTable, Data, DataType, Field, IntoVector, MultiVector, Schema } from "./arrow";
2
+ import { BlobFile } from "./blob";
2
3
  import { IndexOptions } from "./indices";
4
+ import { Job } from "./job";
3
5
  import { MergeInsertBuilder } from "./merge";
4
- import { AddColumnsResult, AddColumnsSql, AddResult, AlterColumnsResult, BranchContents, DeleteResult, DropColumnsResult, IndexConfig, IndexStatistics, Job, LsmStats, Branches as NativeBranches, OptimizeStats, RefreshColumnResult, RefreshMaterializedViewResult, TableStatistics, Tags, UpdateFieldMetadataResult, UpdateResult, Table as _NativeTable } from "./native";
6
+ import { AddColumnsResult, AddColumnsSql, AddResult, AlterColumnsResult, BranchContents, DeleteResult, DropColumnsResult, IndexConfig, IndexStatistics, LsmStats, Branches as NativeBranches, OptimizeStats, RefreshColumnResult, RefreshMaterializedViewResult, TableStatistics, Tags, UpdateFieldMetadataResult, UpdateResult, Table as _NativeTable } from "./native";
5
7
  import { AutoQuery, FullTextQuery, Query, TakeQuery, VectorQuery } from "./query";
6
8
  import { IntoSql } from "./util";
7
9
  export { IndexConfig } from "./native";
@@ -88,7 +90,8 @@ export interface OptimizeOptions {
88
90
  * olderThan.setDate(olderThan.getDate() - 1));
89
91
  * tbl.optimize({cleanupOlderThan: olderThan});
90
92
  *
91
- * // Delete all versions except the current version
93
+ * // Delete versions committed before this point. Versions created by the
94
+ * // optimize call itself are newer than the cutoff and will be retained.
92
95
  * tbl.optimize({cleanupOlderThan: new Date()});
93
96
  */
94
97
  cleanupOlderThan: Date;
@@ -236,7 +239,7 @@ export declare abstract class Table {
236
239
  * Note: if your condition is something like "some_id_column == 7" and
237
240
  * you are updating many rows (with different ids) then you will get
238
241
  * better performance with a single [`merge_insert`] call instead of
239
- * repeatedly calilng this method.
242
+ * repeatedly calling this method.
240
243
  * @param {Map<string, string> | Record<string, string>} updates - the
241
244
  * columns to update
242
245
  * @returns {Promise<UpdateResult>} A promise that resolves to an object
@@ -411,6 +414,26 @@ export declare abstract class Table {
411
414
  * @returns A builder that can be used to parameterize the query.
412
415
  */
413
416
  abstract takeRowIds(rowIds: readonly (bigint | number)[]): TakeQuery;
417
+ /**
418
+ * Blob v2 columns, including nested dotted paths.
419
+ */
420
+ abstract blobColumns(): Promise<string[]>;
421
+ /**
422
+ * Bytes for `column` at row IDs from {@link Query.withRowId}.
423
+ *
424
+ * Reads the table's current checkout. IDs from another version can fail after
425
+ * compaction unless stable row ids are enabled. Results keep input order and
426
+ * duplicates. Null blobs are `null`. Empty blobs are empty buffers.
427
+ */
428
+ abstract fetchBlobs(column: string, rowIds: readonly (bigint | number)[]): Promise<(Buffer | null)[]>;
429
+ /**
430
+ * Opens lazy blob handles for `column` at the given row IDs using the
431
+ * table's current checkout.
432
+ *
433
+ * Preserves input order, duplicates, and nulls. Use this for large payloads.
434
+ * See {@link Table.fetchBlobs} for row-ID validity across versions.
435
+ */
436
+ abstract fetchBlobFiles(column: string, rowIds: readonly (bigint | number)[]): Promise<(BlobFile | null)[]>;
414
437
  /**
415
438
  * Create a search query to find the nearest neighbors
416
439
  * of the given query
@@ -439,10 +462,10 @@ export declare abstract class Table {
439
462
  * {@link Table#refreshColumn}. Declaring one therefore costs the same on a
440
463
  * large table as on an empty one.
441
464
  *
442
- * A refresh does not revisit rows it has already filled, so mutating an
443
- * input leaves the value computed at fill time; recomputing means dropping
444
- * the column and declaring it again. While a declaration reads a column,
445
- * that column cannot be renamed, retyped or dropped.
465
+ * A refresh also recomputes the rows whose inputs changed since they were
466
+ * computed, so a mutated input is reflected by the next refresh. While a
467
+ * declaration reads a column, that column cannot be renamed, retyped or
468
+ * dropped.
446
469
  *
447
470
  * On LanceDB Cloud and Enterprise the expression is planned by the
448
471
  * server, and the refresh runs as a server job -- see
@@ -467,10 +490,10 @@ export declare abstract class Table {
467
490
  /**
468
491
  * Fill the rows of a computed column that hold no value yet.
469
492
  *
470
- * Rows appended since the last refresh are filled by the next one; rows
471
- * already filled are left as they are, so the call is idempotent and does
472
- * not observe a mutated input. Local tables only: a remote refresh runs
473
- * as a server job, through {@link Table#refreshColumnAsync}.
493
+ * Rows appended since the last refresh are filled by the next one, and
494
+ * rows whose inputs changed since they were computed are recomputed;
495
+ * everything else is left as it is. Local tables only: a remote refresh
496
+ * runs as a server job, through {@link Table#refreshColumnAsync}.
474
497
  * @param {string} column The name of the computed column to fill.
475
498
  * @returns {Promise<RefreshColumnResult>} A promise that resolves to the
476
499
  * number of rows filled and the new version number of the table.
@@ -785,6 +808,16 @@ export declare abstract class Table {
785
808
  abstract tokenize(query: string, options: TokenizeTableOptions): Promise<FtsToken[]>;
786
809
  /** Return the table as an arrow table */
787
810
  abstract toArrow(): Promise<ArrowTable>;
811
+ /**
812
+ * Create a {@link MergeInsertBuilder}, which combines new data with the
813
+ * existing table in a single transaction — inserting, updating and deleting
814
+ * rows depending on how they match.
815
+ *
816
+ * @param on - The column, or columns, to match source rows against target
817
+ * rows on. Typically a key or id column. Several columns match on the
818
+ * composite key: a source row updates a target row only when it agrees on
819
+ * every one of them.
820
+ */
788
821
  abstract mergeInsert(on: string | string[]): MergeInsertBuilder;
789
822
  /** List all the stats of a specified index
790
823
  *
@@ -850,6 +883,9 @@ export declare class LocalTable extends Table {
850
883
  waitForIndex(indexNames: string[], timeoutSeconds: number): Promise<void>;
851
884
  takeOffsets(offsets: number[]): TakeQuery;
852
885
  takeRowIds(rowIds: readonly (bigint | number)[]): TakeQuery;
886
+ blobColumns(): Promise<string[]>;
887
+ fetchBlobs(column: string, rowIds: readonly (bigint | number)[]): Promise<(Buffer | null)[]>;
888
+ fetchBlobFiles(column: string, rowIds: readonly (bigint | number)[]): Promise<(BlobFile | null)[]>;
853
889
  query(): Query;
854
890
  search(query: string | IntoVector | MultiVector | FullTextQuery, queryType?: string, ftsColumns?: string | string[]): VectorQuery | Query | AutoQuery;
855
891
  vectorSearch(vector: IntoVector | MultiVector): VectorQuery;
@@ -4,7 +4,9 @@
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Branches = exports.LocalTable = exports.Table = void 0;
6
6
  const arrow_1 = require("./arrow");
7
+ const blob_1 = require("./blob");
7
8
  const registry_1 = require("./embedding/registry");
9
+ const job_1 = require("./job");
8
10
  const merge_1 = require("./merge");
9
11
  const query_1 = require("./query");
10
12
  const sanitize_1 = require("./sanitize");
@@ -143,7 +145,7 @@ class LocalTable extends Table {
143
145
  async createIndexAsync(column, options) {
144
146
  // biome-ignore lint/suspicious/noExplicitAny: skip
145
147
  const nativeIndex = options?.config?.inner;
146
- return await this.inner.createIndexAsync(nativeIndex, column, options?.replace, options?.waitTimeoutSeconds, options?.name, options?.train);
148
+ return new job_1.Job(await this.inner.createIndexAsync(nativeIndex, column, options?.replace, options?.waitTimeoutSeconds, options?.name, options?.train));
147
149
  }
148
150
  async dropIndex(name) {
149
151
  await this.inner.dropIndex(name);
@@ -161,22 +163,20 @@ class LocalTable extends Table {
161
163
  return new query_1.TakeQuery(this.inner.takeOffsets(offsets));
162
164
  }
163
165
  takeRowIds(rowIds) {
164
- const ids = rowIds.map((id) => {
165
- if (typeof id === "bigint") {
166
- return id;
167
- }
168
- if (!Number.isInteger(id)) {
169
- throw new Error("Row id must be an integer (or bigint)");
170
- }
171
- if (id < 0) {
172
- throw new Error("Row id cannot be negative");
173
- }
174
- if (!Number.isSafeInteger(id)) {
175
- throw new Error("Row id is too large for number; use bigint instead");
176
- }
177
- return BigInt(id);
178
- });
179
- return new query_1.TakeQuery(this.inner.takeRowIds(ids));
166
+ return new query_1.TakeQuery(this.inner.takeRowIds(rowIdsToBigInts(rowIds)));
167
+ }
168
+ blobColumns() {
169
+ return this.inner.blobColumns();
170
+ }
171
+ async fetchBlobs(column, rowIds) {
172
+ const values = await this.inner.fetchBlobs(column, rowIdsToBigInts(rowIds));
173
+ // N-API Option maps missing values to undefined. Collapse those to null.
174
+ return values.map((value) => value ?? null);
175
+ }
176
+ async fetchBlobFiles(column, rowIds) {
177
+ const files = await this.inner.fetchBlobFiles(column, rowIdsToBigInts(rowIds));
178
+ // N-API Option maps missing values to undefined. Collapse those to null.
179
+ return files.map((file) => file == null ? null : blob_1.BlobFile.fromNative(file));
180
180
  }
181
181
  query() {
182
182
  return new query_1.Query(this.inner);
@@ -273,7 +273,7 @@ class LocalTable extends Table {
273
273
  return await this.inner.refreshColumn(column);
274
274
  }
275
275
  async refreshColumnAsync(column) {
276
- return await this.inner.refreshColumnAsync(column);
276
+ return new job_1.Job(await this.inner.refreshColumnAsync(column));
277
277
  }
278
278
  async refreshMaterializedView(full, sourceVersion) {
279
279
  return await this.inner.refreshMaterializedView(full, sourceVersion);
@@ -371,13 +371,7 @@ class LocalTable extends Table {
371
371
  return this.inner.currentBranch() ?? null;
372
372
  }
373
373
  async optimize(options) {
374
- let cleanupOlderThanMs;
375
- if (options?.cleanupOlderThan !== undefined &&
376
- options?.cleanupOlderThan !== null) {
377
- cleanupOlderThanMs =
378
- new Date().getTime() - options.cleanupOlderThan.getTime();
379
- }
380
- return await this.inner.optimize(cleanupOlderThanMs, options?.deleteUnverified);
374
+ return await this.inner.optimize(options?.cleanupOlderThan?.getTime(), options?.deleteUnverified);
381
375
  }
382
376
  async listIndices() {
383
377
  return await this.inner.listIndices();
@@ -496,3 +490,20 @@ class Branches {
496
490
  }
497
491
  }
498
492
  exports.Branches = Branches;
493
+ function rowIdsToBigInts(rowIds) {
494
+ return rowIds.map((id) => {
495
+ if (typeof id === "bigint") {
496
+ return id;
497
+ }
498
+ if (!Number.isInteger(id)) {
499
+ throw new Error("Row id must be an integer (or bigint)");
500
+ }
501
+ if (id < 0) {
502
+ throw new Error("Row id cannot be negative");
503
+ }
504
+ if (!Number.isSafeInteger(id)) {
505
+ throw new Error("Row id is too large for number; use bigint instead");
506
+ }
507
+ return BigInt(id);
508
+ });
509
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.26.52",
3
+ "version": "0.26.54",
4
4
  "author": "Robert Owens <78518764+reowens@users.noreply.github.com>",
5
5
  "homepage": "https://github.com/reowens/grepmax",
6
6
  "bugs": {
@@ -104,7 +104,7 @@
104
104
  },
105
105
  "devDependencies": {
106
106
  "@biomejs/biome": "2.5.13",
107
- "@lancedb/lancedb": "0.38.0",
107
+ "@lancedb/lancedb": "0.39.0",
108
108
  "@modelcontextprotocol/client": "2.3.0",
109
109
  "@types/node": "^26.6.1",
110
110
  "@types/proper-lockfile": "^4.1.4",
@@ -116,12 +116,12 @@
116
116
  "vitest": "^5.0.1"
117
117
  },
118
118
  "optionalDependencies": {
119
- "@lancedb/lancedb-darwin-arm64": "0.38.0",
120
- "@lancedb/lancedb-linux-arm64-gnu": "0.38.0",
121
- "@lancedb/lancedb-linux-arm64-musl": "0.38.0",
122
- "@lancedb/lancedb-linux-x64-gnu": "0.38.0",
123
- "@lancedb/lancedb-linux-x64-musl": "0.38.0",
124
- "@lancedb/lancedb-win32-arm64-msvc": "0.38.0",
125
- "@lancedb/lancedb-win32-x64-msvc": "0.38.0"
119
+ "@lancedb/lancedb-darwin-arm64": "0.39.0",
120
+ "@lancedb/lancedb-linux-arm64-gnu": "0.39.0",
121
+ "@lancedb/lancedb-linux-arm64-musl": "0.39.0",
122
+ "@lancedb/lancedb-linux-x64-gnu": "0.39.0",
123
+ "@lancedb/lancedb-linux-x64-musl": "0.39.0",
124
+ "@lancedb/lancedb-win32-arm64-msvc": "0.39.0",
125
+ "@lancedb/lancedb-win32-x64-msvc": "0.39.0"
126
126
  }
127
127
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.26.52",
3
+ "version": "0.26.54",
4
4
  "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
5
5
  "author": {
6
6
  "name": "Robert Owens",