Skip to content

Commit

Permalink
Merge pull request #696 from jmaister/update-3-9-7
Browse files Browse the repository at this point in the history
Update to 3.9.7
  • Loading branch information
jmaister authored Jan 26, 2025
2 parents c2ac7e1 + 8b57068 commit d41bd3f
Show file tree
Hide file tree
Showing 10 changed files with 14,225 additions and 8,219 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [18.x]
node-version: [22.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -24,8 +24,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache: 'npm'

- run: yarn install
- run: npm install

- run: yarn jest
- run: npm test
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2016-2023 Jordi Burgos
Copyright (c) 2016-2025 Jordi Burgos

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
26 changes: 20 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@

[![Node CI](https://github.com/jmaister/excellentexport/actions/workflows/webpack.yml/badge.svg?branch=master)](https://github.com/jmaister/excellentexport/actions/workflows/webpack.yml)
[![](https://data.jsdelivr.com/v1/package/npm/excellentexport/badge)](https://www.jsdelivr.com/package/npm/excellentexport)
[![Rate on Openbase](https://badges.openbase.io/js/rating/excellentexport.svg)](https://openbase.io/js/excellentexport?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge)
[![Coverage Status](https://coveralls.io/repos/github/jmaister/excellentexport/badge.svg?branch=master)](https://coveralls.io/github/jmaister/excellentexport?branch=master)

# ExcellentExport.js
Expand All @@ -21,6 +20,18 @@

# Revision history:

### 3.9.7

* _Update npm dependencies to fix vulnerabilities_
* xlsx package loaded from CDN [SheetJS CDN](https://cdn.sheetjs.com/)
* Moving to npm build (package-lock.json), yarn does not support "audit fix" command to fix dependencies vulnerabilities automatically.

### 3.9.6

* Remove references to openbase.io
* Fix typos
* _Update npm dependencies to fix vulnerabilities_

### 3.9.5

* _Update npm dependencies to fix vulnerabilities_
Expand Down Expand Up @@ -122,7 +133,7 @@
### 2.1.0

* Add Webpack build.
* Create UMD JavaScript module. Library can be loaded as a module (import, RequireJS, AMD, etc...) or standalone as window.ExcelentExport.
* Create UMD JavaScript module. Library can be loaded as a module (import, RequireJS, AMD, etc...) or standalone as window.ExcellentExport.

### 2.0.3

Expand Down Expand Up @@ -280,8 +291,8 @@ You can specify an array with the formats for a specific cell range (i.e. A1:A10

Each element in the format array consists on:

```json
{
```typescript
const sheet01 = {
"range": "A1:A100", // Range of cells to apply the format, mandatory
"format": {
"type": "<cell_type>", // Type of format, mandatory
Expand All @@ -305,8 +316,7 @@ Example:
range: "C2:C20",
format: ExcellentExport.formats.NUMBER,
}
],

]
```

`format` can be used from one of the predefined types if you use TypeScript
Expand Down Expand Up @@ -360,3 +370,7 @@ Example:
**Publish**

npm publish

## Dependencies

- XLSX is not available from NPM anymore. Use https://cdn.sheetjs.com/ to install it.
2 changes: 1 addition & 1 deletion dist/excellentexport.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* ExcellentExport 3.7.2
* ExcellentExport 3.9.7
* A client side Javascript export to Excel.
*
* @author: Jordi Burgos (jordiburgos@gmail.com)
Expand Down
2 changes: 1 addition & 1 deletion dist/excellentexport.js

Large diffs are not rendered by default.

Loading

0 comments on commit d41bd3f

Please sign in to comment.