javascript-excel 2.0.0-alpha.3 → 2.0.0-alpha.5
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/import.cjs +1 -1
- package/dist/import.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{pipeline-Bnf7EU3X.cjs → pipeline-BV2q-khO.cjs} +14 -3
- package/dist/{pipeline-BAJtzBdW.js → pipeline-Snu8wBXd.js} +14 -3
- package/dist/render.cjs +42 -0
- package/dist/render.d.cts +10 -0
- package/dist/render.d.ts +10 -0
- package/dist/render.js +41 -1
- package/dist/worker.cjs +1 -1
- package/dist/worker.js +1 -1
- package/package.json +1 -1
package/dist/import.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_pipeline = require("./pipeline-
|
|
2
|
+
const require_pipeline = require("./pipeline-BV2q-khO.cjs");
|
|
3
3
|
exports.applyMapping = require_pipeline.applyMapping;
|
|
4
4
|
exports.coerceColumns = require_pipeline.coerceColumns;
|
|
5
5
|
exports.detectHeader = require_pipeline.detectHeader;
|
package/dist/import.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { i as applyMapping, n as coerceColumns, o as detectHeader, t as importDataset, r as inferColumnTypes, a as mapColumns, s as parseDate, c as parseNumber } from "./pipeline-
|
|
1
|
+
export { i as applyMapping, n as coerceColumns, o as detectHeader, t as importDataset, r as inferColumnTypes, a as mapColumns, s as parseDate, c as parseNumber } from "./pipeline-Snu8wBXd.js";
|
package/dist/index.cjs
CHANGED
|
@@ -10,7 +10,7 @@ const require_numfmt = require("./numfmt-BmEbm78Y.cjs");
|
|
|
10
10
|
const require_address = require("./address-DZBHchLv.cjs");
|
|
11
11
|
// src/index.ts
|
|
12
12
|
/** Package version. Set from package.json by `npm run version-packages` (scripts/sync-version.mjs); a unit test checks it. */
|
|
13
|
-
const VERSION = "2.0.0-alpha.
|
|
13
|
+
const VERSION = "2.0.0-alpha.5";
|
|
14
14
|
exports.BUILTIN_NUM_FMTS = require_numfmt.BUILTIN_NUM_FMTS;
|
|
15
15
|
exports.CsvError = require_errors.CsvError;
|
|
16
16
|
exports.EnvironmentError = require_errors.EnvironmentError;
|
package/dist/index.d.cts
CHANGED
|
@@ -277,5 +277,5 @@ export declare function encodeRange(r: RangeAddress): string;
|
|
|
277
277
|
/** 'A1:C3' or 'A1' → range, normalised so start is top-left. */
|
|
278
278
|
export declare function decodeRange(ref: string): RangeAddress;
|
|
279
279
|
/** Package version. Set from package.json by `npm run version-packages` (scripts/sync-version.mjs); a unit test checks it. */
|
|
280
|
-
export declare const VERSION = "2.0.0-alpha.
|
|
280
|
+
export declare const VERSION = "2.0.0-alpha.5";
|
|
281
281
|
export { type AbortSignalLike, type Alignment, type AutoWidthOptions, type BinaryInput, type BlobLike, type BlobType, type Border, type BorderSide, type BorderStyle, type Cell, type CellAddress, type CellErrorValue, type CellInput, type CellTextOptions, type CellType, type CellValue, type Color, type ColorContext, type ColumnDef, type ColumnProps, type ColumnTotal, type ColumnWidth, type Dataset, type DatasetBlock, type DatasetOptions, type DatasetResult, type DateOptions, type DefinedName, type DocProperties, type ErrorCode, type ExcelErrorCode, type ExcelErrorOptions, type ExcelWarning, type ExcelWarningCode, type Fill, type Font, type GradientFill, type GroupColumn, type Hyperlink, type LeafColumn, type NumFmt, type PatternFill, type PatternType, type PrintSetup, type Progress, type RangeAddress, type RichText, type RichTextRun, type RowProps, type Sheet, type SheetNameProblem, type SheetView, type Style, type Theme, type ToDatasetOptions, type Workbook, type WriteOptions, XLSX_MIME, toBlob, toUint8Array };
|
package/dist/index.d.ts
CHANGED
|
@@ -277,5 +277,5 @@ export declare function encodeRange(r: RangeAddress): string;
|
|
|
277
277
|
/** 'A1:C3' or 'A1' → range, normalised so start is top-left. */
|
|
278
278
|
export declare function decodeRange(ref: string): RangeAddress;
|
|
279
279
|
/** Package version. Set from package.json by `npm run version-packages` (scripts/sync-version.mjs); a unit test checks it. */
|
|
280
|
-
export declare const VERSION = "2.0.0-alpha.
|
|
280
|
+
export declare const VERSION = "2.0.0-alpha.5";
|
|
281
281
|
export { type AbortSignalLike, type Alignment, type AutoWidthOptions, type BinaryInput, type BlobLike, type BlobType, type Border, type BorderSide, type BorderStyle, type Cell, type CellAddress, type CellErrorValue, type CellInput, type CellTextOptions, type CellType, type CellValue, type Color, type ColorContext, type ColumnDef, type ColumnProps, type ColumnTotal, type ColumnWidth, type Dataset, type DatasetBlock, type DatasetOptions, type DatasetResult, type DateOptions, type DefinedName, type DocProperties, type ErrorCode, type ExcelErrorCode, type ExcelErrorOptions, type ExcelWarning, type ExcelWarningCode, type Fill, type Font, type GradientFill, type GroupColumn, type Hyperlink, type LeafColumn, type NumFmt, type PatternFill, type PatternType, type PrintSetup, type Progress, type RangeAddress, type RichText, type RichTextRun, type RowProps, type Sheet, type SheetNameProblem, type SheetView, type Style, type Theme, type ToDatasetOptions, type Workbook, type WriteOptions, XLSX_MIME, toBlob, toUint8Array };
|
package/dist/index.js
CHANGED
|
@@ -9,5 +9,5 @@ import { n as isDateFormat, t as BUILTIN_NUM_FMTS } from "./numfmt-DCDrX9P1.js";
|
|
|
9
9
|
import { a as decodeRange, c as encodeRange, i as decodeCol, n as MAX_ROWS, o as encodeCell, r as decodeCell, s as encodeCol, t as MAX_COLS } from "./address-DUn7-5OS.js";
|
|
10
10
|
// src/index.ts
|
|
11
11
|
/** Package version. Set from package.json by `npm run version-packages` (scripts/sync-version.mjs); a unit test checks it. */
|
|
12
|
-
const VERSION = "2.0.0-alpha.
|
|
12
|
+
const VERSION = "2.0.0-alpha.5";
|
|
13
13
|
export { BUILTIN_NUM_FMTS, CsvError, EnvironmentError, ExcelError, FormatError, LimitError, MAX_COLS, MAX_ROWS, VERSION, ValidationError, XLSX_MIME, cellText, dateToSerial, decodeCell, decodeCol, decodeRange, encodeCell, encodeCol, encodeRange, fromDataset, fromDatasets, isDateFormat, isExcelError, mergeStyles, resolveColor, sanitizeSheetName, serialToDate, toBlob, toDataset, toUint8Array, validateSheetName };
|
|
@@ -410,6 +410,17 @@ function applyMapping(dataset, mapping, schema) {
|
|
|
410
410
|
message: `No column for the required field "${name}".`,
|
|
411
411
|
severity: "error"
|
|
412
412
|
});
|
|
413
|
+
columns.push({
|
|
414
|
+
key: name,
|
|
415
|
+
title: "",
|
|
416
|
+
letter: "",
|
|
417
|
+
type: "empty",
|
|
418
|
+
field: name
|
|
419
|
+
});
|
|
420
|
+
plan.push({
|
|
421
|
+
out: name,
|
|
422
|
+
from: null
|
|
423
|
+
});
|
|
413
424
|
continue;
|
|
414
425
|
}
|
|
415
426
|
const c = byKey.get(from);
|
|
@@ -426,7 +437,7 @@ function applyMapping(dataset, mapping, schema) {
|
|
|
426
437
|
});
|
|
427
438
|
}
|
|
428
439
|
if (schema.unmapped === "keep") {
|
|
429
|
-
const mapped = new Set(plan.map((p) => p.from));
|
|
440
|
+
const mapped = new Set(plan.map((p) => p.from).filter((f) => f !== null));
|
|
430
441
|
for (const c of dataset.columns) {
|
|
431
442
|
if (mapped.has(c.key)) continue;
|
|
432
443
|
let key = c.key;
|
|
@@ -444,12 +455,12 @@ function applyMapping(dataset, mapping, schema) {
|
|
|
444
455
|
});
|
|
445
456
|
}
|
|
446
457
|
}
|
|
447
|
-
const required = fields.filter(([name, spec]) => spec.required && plan.some((p) => p.out === name)).map(([name]) => name);
|
|
458
|
+
const required = fields.filter(([name, spec]) => spec.required && plan.some((p) => p.out === name && p.from !== null)).map(([name]) => name);
|
|
448
459
|
return {
|
|
449
460
|
columns,
|
|
450
461
|
data: dataset.data.map((row, i) => {
|
|
451
462
|
const out = Object.create(null);
|
|
452
|
-
for (const { out: k, from } of plan) out[k] = row[from] ?? null;
|
|
463
|
+
for (const { out: k, from } of plan) out[k] = from === null ? null : row[from] ?? null;
|
|
453
464
|
for (const name of required) {
|
|
454
465
|
const v = out[name];
|
|
455
466
|
if (v === null || v === void 0 || typeof v === "string" && v.trim() === "") {
|
|
@@ -410,6 +410,17 @@ function applyMapping(dataset, mapping, schema) {
|
|
|
410
410
|
message: `No column for the required field "${name}".`,
|
|
411
411
|
severity: "error"
|
|
412
412
|
});
|
|
413
|
+
columns.push({
|
|
414
|
+
key: name,
|
|
415
|
+
title: "",
|
|
416
|
+
letter: "",
|
|
417
|
+
type: "empty",
|
|
418
|
+
field: name
|
|
419
|
+
});
|
|
420
|
+
plan.push({
|
|
421
|
+
out: name,
|
|
422
|
+
from: null
|
|
423
|
+
});
|
|
413
424
|
continue;
|
|
414
425
|
}
|
|
415
426
|
const c = byKey.get(from);
|
|
@@ -426,7 +437,7 @@ function applyMapping(dataset, mapping, schema) {
|
|
|
426
437
|
});
|
|
427
438
|
}
|
|
428
439
|
if (schema.unmapped === "keep") {
|
|
429
|
-
const mapped = new Set(plan.map((p) => p.from));
|
|
440
|
+
const mapped = new Set(plan.map((p) => p.from).filter((f) => f !== null));
|
|
430
441
|
for (const c of dataset.columns) {
|
|
431
442
|
if (mapped.has(c.key)) continue;
|
|
432
443
|
let key = c.key;
|
|
@@ -444,12 +455,12 @@ function applyMapping(dataset, mapping, schema) {
|
|
|
444
455
|
});
|
|
445
456
|
}
|
|
446
457
|
}
|
|
447
|
-
const required = fields.filter(([name, spec]) => spec.required && plan.some((p) => p.out === name)).map(([name]) => name);
|
|
458
|
+
const required = fields.filter(([name, spec]) => spec.required && plan.some((p) => p.out === name && p.from !== null)).map(([name]) => name);
|
|
448
459
|
return {
|
|
449
460
|
columns,
|
|
450
461
|
data: dataset.data.map((row, i) => {
|
|
451
462
|
const out = Object.create(null);
|
|
452
|
-
for (const { out: k, from } of plan) out[k] = row[from] ?? null;
|
|
463
|
+
for (const { out: k, from } of plan) out[k] = from === null ? null : row[from] ?? null;
|
|
453
464
|
for (const name of required) {
|
|
454
465
|
const v = out[name];
|
|
455
466
|
if (v === null || v === void 0 || typeof v === "string" && v.trim() === "") {
|
package/dist/render.cjs
CHANGED
|
@@ -95,6 +95,7 @@ function createRenderSheet(workbook, sheet, options = {}) {
|
|
|
95
95
|
usedRows,
|
|
96
96
|
usedCols,
|
|
97
97
|
rowTops,
|
|
98
|
+
defaultRowPx,
|
|
98
99
|
colLefts,
|
|
99
100
|
merges,
|
|
100
101
|
buckets,
|
|
@@ -176,6 +177,45 @@ function colWidth(s, col) {
|
|
|
176
177
|
function isRowHidden(s, row) {
|
|
177
178
|
return rowHeight(s, row) === 0;
|
|
178
179
|
}
|
|
180
|
+
/** Excel's largest row height, 409 pt, in CSS px. */
|
|
181
|
+
const MAX_ROW_PX = 39264 / 72;
|
|
182
|
+
/** True when the row's height comes from the file (`rowProps[row].height`); only other rows may be auto-fitted (§5.8.1). */
|
|
183
|
+
function hasStoredRowHeight(s, row) {
|
|
184
|
+
return state(s).sh.rowProps?.[row]?.height !== void 0;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Sets measured heights, in CSS px at zoom 100 %, for rows without a stored height: the viewer's
|
|
188
|
+
* auto-fit (§5.8.1). Rows with a stored height, hidden rows and rows outside the extent are ignored.
|
|
189
|
+
* Heights are clamped to [default row height, 409 pt], so auto-fit only grows rows. The offset table
|
|
190
|
+
* is rebuilt from the first changed row onwards. Returns true when anything changed.
|
|
191
|
+
* (An array, not an Iterable, so the declaration works with ES5 lib typings; see Consumer TS.)
|
|
192
|
+
*/
|
|
193
|
+
function setRowHeights(s, heights) {
|
|
194
|
+
const st = state(s);
|
|
195
|
+
const tops = st.rowTops;
|
|
196
|
+
const updates = /* @__PURE__ */ new Map();
|
|
197
|
+
let first = Number.POSITIVE_INFINITY;
|
|
198
|
+
for (const [row, px] of heights) {
|
|
199
|
+
if (!(Number.isInteger(row) && row >= 0 && row < st.rows) || !Number.isFinite(px)) continue;
|
|
200
|
+
const props = st.sh.rowProps?.[row];
|
|
201
|
+
if (props?.hidden || props?.height !== void 0) continue;
|
|
202
|
+
const current = tops[row + 1] - tops[row];
|
|
203
|
+
if (current === 0) continue;
|
|
204
|
+
const next = Math.min(MAX_ROW_PX, Math.max(st.defaultRowPx, px));
|
|
205
|
+
if (next !== current) {
|
|
206
|
+
updates.set(row, next);
|
|
207
|
+
if (row < first) first = row;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
if (updates.size === 0) return false;
|
|
211
|
+
let oldTop = tops[first];
|
|
212
|
+
for (let r = first; r < st.rows; r++) {
|
|
213
|
+
const oldNext = tops[r + 1];
|
|
214
|
+
tops[r + 1] = tops[r] + (updates.get(r) ?? oldNext - oldTop);
|
|
215
|
+
oldTop = oldNext;
|
|
216
|
+
}
|
|
217
|
+
return true;
|
|
218
|
+
}
|
|
179
219
|
function isColHidden(s, col) {
|
|
180
220
|
return colWidth(s, col) === 0;
|
|
181
221
|
}
|
|
@@ -735,6 +775,7 @@ exports.colLeft = colLeft;
|
|
|
735
775
|
exports.colWidth = colWidth;
|
|
736
776
|
exports.createRenderSheet = createRenderSheet;
|
|
737
777
|
exports.edge = edge;
|
|
778
|
+
exports.hasStoredRowHeight = hasStoredRowHeight;
|
|
738
779
|
exports.isColHidden = isColHidden;
|
|
739
780
|
exports.isRowHidden = isRowHidden;
|
|
740
781
|
exports.lastUsedCell = lastUsedCell;
|
|
@@ -746,6 +787,7 @@ exports.renderCell = renderCell;
|
|
|
746
787
|
exports.rowAt = rowAt;
|
|
747
788
|
exports.rowHeight = rowHeight;
|
|
748
789
|
exports.rowTop = rowTop;
|
|
790
|
+
exports.setRowHeights = setRowHeights;
|
|
749
791
|
exports.sheetExtent = sheetExtent;
|
|
750
792
|
exports.sheetSettings = sheetSettings;
|
|
751
793
|
exports.step = step;
|
package/dist/render.d.cts
CHANGED
|
@@ -186,6 +186,16 @@ export declare function rowHeight(s: RenderSheet, row: number): number;
|
|
|
186
186
|
export declare function colLeft(s: RenderSheet, col: number): number;
|
|
187
187
|
export declare function colWidth(s: RenderSheet, col: number): number;
|
|
188
188
|
export declare function isRowHidden(s: RenderSheet, row: number): boolean;
|
|
189
|
+
/** True when the row's height comes from the file (`rowProps[row].height`); only other rows may be auto-fitted (§5.8.1). */
|
|
190
|
+
export declare function hasStoredRowHeight(s: RenderSheet, row: number): boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Sets measured heights, in CSS px at zoom 100 %, for rows without a stored height: the viewer's
|
|
193
|
+
* auto-fit (§5.8.1). Rows with a stored height, hidden rows and rows outside the extent are ignored.
|
|
194
|
+
* Heights are clamped to [default row height, 409 pt], so auto-fit only grows rows. The offset table
|
|
195
|
+
* is rebuilt from the first changed row onwards. Returns true when anything changed.
|
|
196
|
+
* (An array, not an Iterable, so the declaration works with ES5 lib typings; see Consumer TS.)
|
|
197
|
+
*/
|
|
198
|
+
export declare function setRowHeights(s: RenderSheet, heights: ReadonlyArray<readonly [row: number, px: number]>): boolean;
|
|
189
199
|
export declare function isColHidden(s: RenderSheet, col: number): boolean;
|
|
190
200
|
export declare function rowAt(s: RenderSheet, y: number): number;
|
|
191
201
|
export declare function colAt(s: RenderSheet, x: number): number;
|
package/dist/render.d.ts
CHANGED
|
@@ -186,6 +186,16 @@ export declare function rowHeight(s: RenderSheet, row: number): number;
|
|
|
186
186
|
export declare function colLeft(s: RenderSheet, col: number): number;
|
|
187
187
|
export declare function colWidth(s: RenderSheet, col: number): number;
|
|
188
188
|
export declare function isRowHidden(s: RenderSheet, row: number): boolean;
|
|
189
|
+
/** True when the row's height comes from the file (`rowProps[row].height`); only other rows may be auto-fitted (§5.8.1). */
|
|
190
|
+
export declare function hasStoredRowHeight(s: RenderSheet, row: number): boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Sets measured heights, in CSS px at zoom 100 %, for rows without a stored height: the viewer's
|
|
193
|
+
* auto-fit (§5.8.1). Rows with a stored height, hidden rows and rows outside the extent are ignored.
|
|
194
|
+
* Heights are clamped to [default row height, 409 pt], so auto-fit only grows rows. The offset table
|
|
195
|
+
* is rebuilt from the first changed row onwards. Returns true when anything changed.
|
|
196
|
+
* (An array, not an Iterable, so the declaration works with ES5 lib typings; see Consumer TS.)
|
|
197
|
+
*/
|
|
198
|
+
export declare function setRowHeights(s: RenderSheet, heights: ReadonlyArray<readonly [row: number, px: number]>): boolean;
|
|
189
199
|
export declare function isColHidden(s: RenderSheet, col: number): boolean;
|
|
190
200
|
export declare function rowAt(s: RenderSheet, y: number): number;
|
|
191
201
|
export declare function colAt(s: RenderSheet, x: number): number;
|
package/dist/render.js
CHANGED
|
@@ -94,6 +94,7 @@ function createRenderSheet(workbook, sheet, options = {}) {
|
|
|
94
94
|
usedRows,
|
|
95
95
|
usedCols,
|
|
96
96
|
rowTops,
|
|
97
|
+
defaultRowPx,
|
|
97
98
|
colLefts,
|
|
98
99
|
merges,
|
|
99
100
|
buckets,
|
|
@@ -175,6 +176,45 @@ function colWidth(s, col) {
|
|
|
175
176
|
function isRowHidden(s, row) {
|
|
176
177
|
return rowHeight(s, row) === 0;
|
|
177
178
|
}
|
|
179
|
+
/** Excel's largest row height, 409 pt, in CSS px. */
|
|
180
|
+
const MAX_ROW_PX = 39264 / 72;
|
|
181
|
+
/** True when the row's height comes from the file (`rowProps[row].height`); only other rows may be auto-fitted (§5.8.1). */
|
|
182
|
+
function hasStoredRowHeight(s, row) {
|
|
183
|
+
return state(s).sh.rowProps?.[row]?.height !== void 0;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Sets measured heights, in CSS px at zoom 100 %, for rows without a stored height: the viewer's
|
|
187
|
+
* auto-fit (§5.8.1). Rows with a stored height, hidden rows and rows outside the extent are ignored.
|
|
188
|
+
* Heights are clamped to [default row height, 409 pt], so auto-fit only grows rows. The offset table
|
|
189
|
+
* is rebuilt from the first changed row onwards. Returns true when anything changed.
|
|
190
|
+
* (An array, not an Iterable, so the declaration works with ES5 lib typings; see Consumer TS.)
|
|
191
|
+
*/
|
|
192
|
+
function setRowHeights(s, heights) {
|
|
193
|
+
const st = state(s);
|
|
194
|
+
const tops = st.rowTops;
|
|
195
|
+
const updates = /* @__PURE__ */ new Map();
|
|
196
|
+
let first = Number.POSITIVE_INFINITY;
|
|
197
|
+
for (const [row, px] of heights) {
|
|
198
|
+
if (!(Number.isInteger(row) && row >= 0 && row < st.rows) || !Number.isFinite(px)) continue;
|
|
199
|
+
const props = st.sh.rowProps?.[row];
|
|
200
|
+
if (props?.hidden || props?.height !== void 0) continue;
|
|
201
|
+
const current = tops[row + 1] - tops[row];
|
|
202
|
+
if (current === 0) continue;
|
|
203
|
+
const next = Math.min(MAX_ROW_PX, Math.max(st.defaultRowPx, px));
|
|
204
|
+
if (next !== current) {
|
|
205
|
+
updates.set(row, next);
|
|
206
|
+
if (row < first) first = row;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
if (updates.size === 0) return false;
|
|
210
|
+
let oldTop = tops[first];
|
|
211
|
+
for (let r = first; r < st.rows; r++) {
|
|
212
|
+
const oldNext = tops[r + 1];
|
|
213
|
+
tops[r + 1] = tops[r] + (updates.get(r) ?? oldNext - oldTop);
|
|
214
|
+
oldTop = oldNext;
|
|
215
|
+
}
|
|
216
|
+
return true;
|
|
217
|
+
}
|
|
178
218
|
function isColHidden(s, col) {
|
|
179
219
|
return colWidth(s, col) === 0;
|
|
180
220
|
}
|
|
@@ -729,4 +769,4 @@ function rangeStats(s, range, limit = 1e6) {
|
|
|
729
769
|
truncated
|
|
730
770
|
};
|
|
731
771
|
}
|
|
732
|
-
export { colAt, colLeft, colWidth, createRenderSheet, edge, isColHidden, isRowHidden, lastUsedCell, mergeAt, rangeAsHtml, rangeAsTsv, rangeStats, renderCell, rowAt, rowHeight, rowTop, sheetExtent, sheetSettings, step };
|
|
772
|
+
export { colAt, colLeft, colWidth, createRenderSheet, edge, hasStoredRowHeight, isColHidden, isRowHidden, lastUsedCell, mergeAt, rangeAsHtml, rangeAsTsv, rangeStats, renderCell, rowAt, rowHeight, rowTop, setRowHeights, sheetExtent, sheetSettings, step };
|
package/dist/worker.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_csv = require("./csv-DyVH9y7S.cjs");
|
|
3
3
|
const require_errors = require("./errors-DOPrrGS4.cjs");
|
|
4
4
|
const require_read = require("./read-CZEWV4rK.cjs");
|
|
5
|
-
const require_pipeline = require("./pipeline-
|
|
5
|
+
const require_pipeline = require("./pipeline-BV2q-khO.cjs");
|
|
6
6
|
const require_write = require("./write-f9kcYf5K.cjs");
|
|
7
7
|
// src/worker.ts
|
|
8
8
|
/** Marks the library's messages, so an app can use the same worker for its own messages too. */
|
package/dist/worker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as toCsv, r as readCsv } from "./csv-pXfaputs.js";
|
|
2
2
|
import { a as LimitError, i as FormatError, n as EnvironmentError, o as ValidationError, r as ExcelError, s as isExcelError, t as CsvError } from "./errors-CvGlfw0E.js";
|
|
3
3
|
import { r as read } from "./read-LWti17lz.js";
|
|
4
|
-
import { t as importDataset } from "./pipeline-
|
|
4
|
+
import { t as importDataset } from "./pipeline-Snu8wBXd.js";
|
|
5
5
|
import { r as toUint8Array } from "./write-DjgWy1PK.js";
|
|
6
6
|
// src/worker.ts
|
|
7
7
|
/** Marks the library's messages, so an app can use the same worker for its own messages too. */
|
package/package.json
CHANGED