excellentexport 3.9.9 → 3.9.11

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.
@@ -16,12 +16,12 @@ jobs:
16
16
  node-version: [22.x]
17
17
 
18
18
  steps:
19
- - uses: actions/checkout@v3
19
+ - uses: actions/checkout@v4
20
20
  with:
21
21
  fetch-depth: 0
22
22
 
23
23
  - name: Use Node.js ${{ matrix.node-version }}
24
- uses: actions/setup-node@v3
24
+ uses: actions/setup-node@v4
25
25
  with:
26
26
  node-version: ${{ matrix.node-version }}
27
27
  cache: 'npm'
package/README.md CHANGED
@@ -20,6 +20,15 @@
20
20
 
21
21
  # Revision history:
22
22
 
23
+ ### 3.9.11
24
+
25
+ * _Update npm dependencies to fix vulnerabilities_
26
+
27
+ ### 3.9.10
28
+
29
+ * Add ts-node dependency for TypeScript development support.
30
+ * _Update npm dependencies to fix vulnerabilities_
31
+
23
32
  ### 3.9.9
24
33
 
25
34
  * Configure codecov to track code coverage.
@@ -1,45 +1,45 @@
1
- /**
2
- * ExcellentExport 3.9.9
3
- * A client side Javascript export to Excel.
4
- *
5
- * @author: Jordi Burgos (jordiburgos@gmail.com)
6
- * @url: https://github.com/jmaister/excellentexport
7
- *
8
- */
9
- import { CellTypes, FormatDefinition, CellFormats, CellPatterns } from './format';
10
- declare global {
11
- interface Navigator {
12
- msSaveBlob?: (blob: any, defaultName?: string) => boolean;
13
- }
14
- }
15
- export interface ConvertOptions {
16
- anchor?: (string | HTMLAnchorElement);
17
- openAsDownload?: boolean;
18
- format: ('csv' | 'xls' | 'xlsx');
19
- filename?: string;
20
- rtl?: boolean;
21
- }
22
- export interface FromOptions {
23
- table?: (string | HTMLTableElement);
24
- array?: any[][];
25
- }
26
- export interface SheetOptions {
27
- name: string;
28
- from: FromOptions;
29
- removeColumns?: number[];
30
- filterRowFn?(row: any[]): boolean;
31
- fixValue?(value: any, row: number, column: number): any;
32
- fixArray?(array: any[][]): any[][];
33
- rtl?: boolean;
34
- formats?: (FormatDefinition | null)[];
35
- }
36
- declare const ExcellentExport: {
37
- version: () => string;
38
- excel: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, name: string) => boolean;
39
- csv: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, delimiter?: string, newLine?: string) => boolean;
40
- convert: (options: ConvertOptions, sheets: SheetOptions[]) => string | false;
41
- formats: CellFormats;
42
- cellTypes: typeof CellTypes;
43
- cellPatterns: typeof CellPatterns;
44
- };
45
- export default ExcellentExport;
1
+ /**
2
+ * ExcellentExport 3.9.11
3
+ * A client side Javascript export to Excel.
4
+ *
5
+ * @author: Jordi Burgos (jordiburgos@gmail.com)
6
+ * @url: https://github.com/jmaister/excellentexport
7
+ *
8
+ */
9
+ import { CellTypes, FormatDefinition, CellFormats, CellPatterns } from './format';
10
+ declare global {
11
+ interface Navigator {
12
+ msSaveBlob?: (blob: any, defaultName?: string) => boolean;
13
+ }
14
+ }
15
+ export interface ConvertOptions {
16
+ anchor?: (string | HTMLAnchorElement);
17
+ openAsDownload?: boolean;
18
+ format: ('csv' | 'xls' | 'xlsx');
19
+ filename?: string;
20
+ rtl?: boolean;
21
+ }
22
+ export interface FromOptions {
23
+ table?: (string | HTMLTableElement);
24
+ array?: any[][];
25
+ }
26
+ export interface SheetOptions {
27
+ name: string;
28
+ from: FromOptions;
29
+ removeColumns?: number[];
30
+ filterRowFn?(row: any[]): boolean;
31
+ fixValue?(value: any, row: number, column: number): any;
32
+ fixArray?(array: any[][]): any[][];
33
+ rtl?: boolean;
34
+ formats?: (FormatDefinition | null)[];
35
+ }
36
+ declare const ExcellentExport: {
37
+ version: () => string;
38
+ excel: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, name: string) => boolean;
39
+ csv: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, delimiter?: string, newLine?: string) => boolean;
40
+ convert: (options: ConvertOptions, sheets: SheetOptions[]) => string | false;
41
+ formats: CellFormats;
42
+ cellTypes: typeof CellTypes;
43
+ cellPatterns: typeof CellPatterns;
44
+ };
45
+ export default ExcellentExport;