@yeyuan98/opencode-bioresearcher-plugin 1.7.0 → 1.7.1-alpha.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.
@@ -1,4 +1,4 @@
1
- import XLSX from 'xlsx';
1
+ import * as XLSX from '../../../vendor/xlsx.mjs';
2
2
  export function getText(obj) {
3
3
  if (obj === null || obj === undefined)
4
4
  return null;
@@ -1,6 +1,6 @@
1
1
  import { tool } from '@opencode-ai/plugin/tool';
2
2
  import * as fs from 'fs';
3
- import * as XLSX from 'xlsx';
3
+ import * as XLSX from '../../vendor/xlsx.mjs';
4
4
  import * as z from 'zod';
5
5
  import { processCellValue, formatError, resolvePath, getSheet, checkFileSize, writeAtomic, iterativeMin, iterativeMax, DEFAULT_MAX_ROW_CAP, DEFAULT_MAX_RANGE_CELLS, } from './utils';
6
6
  const CELL_ADDRESS_REGEX = /^[A-Za-z]+\d+$/;
@@ -1,4 +1,4 @@
1
- import * as XLSX from 'xlsx';
1
+ import * as XLSX from '../../vendor/xlsx.mjs';
2
2
  declare const DEFAULT_MAX_ROW_CAP = 100000;
3
3
  declare const DEFAULT_MAX_RANGE_CELLS = 50000;
4
4
  declare function processCellValue(cell: XLSX.CellObject | undefined): any;
@@ -1,7 +1,7 @@
1
1
  import * as path from 'path';
2
2
  import * as fs from 'fs';
3
3
  import * as crypto from 'crypto';
4
- import * as XLSX from 'xlsx';
4
+ import * as XLSX from '../../vendor/xlsx.mjs';
5
5
  const DEFAULT_MAX_FILE_SIZE_BYTES = 50 * 1024 * 1024;
6
6
  const DEFAULT_MAX_ROW_CAP = 100000;
7
7
  const DEFAULT_MAX_RANGE_CELLS = 50000;
@@ -0,0 +1 @@
1
+ export * from 'xlsx';