Comparing version 0.15.4 to 0.15.5
{ | ||
"name": "xlsx", | ||
"version": "0.15.4", | ||
"version": "0.15.5", | ||
"author": "sheetjs", | ||
@@ -5,0 +5,0 @@ "description": "SheetJS Spreadsheet data parser and writer", |
@@ -32,2 +32,8 @@ /* index.d.ts (C) 2015-present SheetJS and contributors */ | ||
/** Worksheet specifier (string, number, worksheet) */ | ||
export type WSSpec = string | number | WorkSheet; | ||
/** Range specifier (string or range or cell), single-cell lifted to range */ | ||
export type RangeSpec = string | Range | CellAddress; | ||
/** Basic File Properties */ | ||
@@ -99,2 +105,8 @@ export interface Properties { | ||
/** | ||
* Create cell objects for stub cells | ||
* @default false | ||
*/ | ||
sheetStubs?: boolean; | ||
/** | ||
* When reading a file, save style/theme info to the .s field | ||
@@ -105,2 +117,8 @@ * When writing a file, export style/theme info | ||
cellStyles?: boolean; | ||
/** | ||
* If defined and file is encrypted, use password | ||
* @default '' | ||
*/ | ||
password?: string; | ||
} | ||
@@ -149,8 +167,2 @@ | ||
/** | ||
* Create cell objects for stub cells | ||
* @default false | ||
*/ | ||
sheetStubs?: boolean; | ||
/** | ||
* If >0, read the first sheetRows rows | ||
@@ -185,7 +197,4 @@ * @default 0 | ||
/** | ||
* If defined and file is encrypted, use password | ||
* @default '' | ||
*/ | ||
password?: string; | ||
/** If specified, only parse the specified sheets or sheet names */ | ||
sheets?: number | string | Array<number | string>; | ||
@@ -482,2 +491,3 @@ /* If true, plaintext parsing will not parse values */ | ||
} | ||
export type WSKeys = SheetKeys | ColInfo[] | RowInfo[] | Range[] | ProtectInfo | AutoFilterInfo; | ||
@@ -510,2 +520,9 @@ | ||
/** | ||
* Worksheet Object with CellObject type | ||
* | ||
* The normal Worksheet type uses indexer of type `any` -- this enforces CellObject | ||
*/ | ||
export interface StrictWS { [addr: string]: CellObject; } | ||
/** | ||
* The Excel data type for a cell. | ||
@@ -531,2 +548,8 @@ * b Boolean, n Number, e error, s String, d Date, z Stub | ||
/** Cell comments */ | ||
export interface Comments extends Array<Comment> { | ||
/** Hide comment by default */ | ||
hidden?: boolean; | ||
} | ||
/** Link object */ | ||
@@ -568,3 +591,3 @@ export interface Hyperlink { | ||
/** Comments associated with the cell */ | ||
c?: Comment[]; | ||
c?: Comments; | ||
@@ -589,5 +612,3 @@ /** Number format string associated with the cell (if requested) */ | ||
/** | ||
* Range object (representing ranges like "A1:B2") | ||
*/ | ||
/** Range object (representing ranges like "A1:B2") */ | ||
export interface Range { | ||
@@ -594,0 +615,0 @@ /** Starting cell */ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8659866
102653
2857