javascript-excel 2.0.0-alpha.7 → 2.0.0-beta.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/README.md +3 -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/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Read and write `.xlsx` and `.csv` files in browsers, Web Workers and Node.js. TypeScript, no runtime dependencies, tree-shakable entry points.
|
|
4
4
|
|
|
5
|
-
> **
|
|
5
|
+
> **Beta.** `2.0.0-beta.x` is a from-scratch rewrite. Everything listed below ships today. The 2.0.0 feature set is complete; changes before 2.0.0 should be limited to fixes found in testing. The last 1.x release is `javascript-excel@1.0.3`.
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npm install javascript-excel@next
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
**Try it in the browser:** the [playground](https://javascript-excel-playground.vercel.app/) writes, reads and previews workbooks with the published package, and shows the code for what you build.
|
|
12
|
+
|
|
11
13
|
| entry | for |
|
|
12
14
|
|---|---|
|
|
13
15
|
| `javascript-excel` | the workbook model, the `.xlsx` writer, dataset builders, dates, addresses, errors |
|
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-
|
|
13
|
+
const VERSION = "2.0.0-beta.0";
|
|
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
|
@@ -287,5 +287,5 @@ export declare function encodeRange(r: RangeAddress): string;
|
|
|
287
287
|
/** 'A1:C3' or 'A1' → range, normalised so start is top-left. */
|
|
288
288
|
export declare function decodeRange(ref: string): RangeAddress;
|
|
289
289
|
/** Package version. Set from package.json by `npm run version-packages` (scripts/sync-version.mjs); a unit test checks it. */
|
|
290
|
-
export declare const VERSION = "2.0.0-
|
|
290
|
+
export declare const VERSION = "2.0.0-beta.0";
|
|
291
291
|
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
|
@@ -287,5 +287,5 @@ export declare function encodeRange(r: RangeAddress): string;
|
|
|
287
287
|
/** 'A1:C3' or 'A1' → range, normalised so start is top-left. */
|
|
288
288
|
export declare function decodeRange(ref: string): RangeAddress;
|
|
289
289
|
/** Package version. Set from package.json by `npm run version-packages` (scripts/sync-version.mjs); a unit test checks it. */
|
|
290
|
-
export declare const VERSION = "2.0.0-
|
|
290
|
+
export declare const VERSION = "2.0.0-beta.0";
|
|
291
291
|
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-
|
|
12
|
+
const VERSION = "2.0.0-beta.0";
|
|
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 };
|
package/package.json
CHANGED