Skip to content

Commit 2be00b8

Browse files
committed
Bump v0.1.2
- Upgrade GitHub Action tool chains version - Upgrade the dependencies package version
1 parent 3747cd9 commit 2be00b8

File tree

8 files changed

+179
-140
lines changed

8 files changed

+179
-140
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
go-version: [1.25.x]
1414
os: [ubuntu-24.04]
1515
targetplatform: [x64]
16-
node-version: ['20.x', '21.x', '22.x', '23.x', '24.x']
16+
node-version: ['20.x', '21.x', '22.x', '23.x', '24.x', '25.x']
1717

1818
runs-on: ${{ matrix.os }}
1919
environment: production

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Setup Node.js
6161
uses: actions/setup-node@v6
6262
with:
63-
node-version: 20.19.6
63+
node-version: 20.20.0
6464

6565
- name: NPM Build
6666
run: |
@@ -96,7 +96,7 @@ jobs:
9696
- name: Setup Node.js
9797
uses: actions/setup-node@v6
9898
with:
99-
node-version: 20.19.6
99+
node-version: 20.20.0
100100
registry-url: 'https://registry.npmjs.org'
101101

102102
- name: NPM Publish

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,4 +320,4 @@ This program is under the terms of the BSD 3-Clause License. See [https://openso
320320

321321
The Excel logo is a trademark of [Microsoft Corporation](https://aka.ms/trademarks-usage). This artwork is an adaptation.
322322

323-
The Go gopher was created by [Renee French](https://go.dev/doc/gopher/README). Licensed under the [Creative Commons 4.0 Attributions license](http://creativecommons.org/licenses/by/4.0/).
323+
The Go gopher was created by [Renee French](https://go.dev/doc/gopher/README). Licensed under the [Creative Commons 4.0 Attributions license](https://creativecommons.org/licenses/by/4.0/).

README_zh.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ npm install --save excelize-wasm
4848
<script src="excelize-wasm/index.js"></script>
4949
```
5050

51-
### 创建 Excel 文档
51+
### 创建工作簿
5252

53-
下面是一个创建 Excel 文档的简单例子
53+
下面是一个创建工作簿的简单例子
5454

5555
```javascript
5656
const { init } = require('excelize-wasm');
@@ -69,7 +69,7 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
6969
f.SetCellValue('Sheet1', 'B2', 100);
7070
// 设置工作簿的默认工作表
7171
f.SetActiveSheet(index);
72-
// 根据指定路径保存文件
72+
// 根据指定路径保存工作簿
7373
const { buffer, error } = f.WriteToBuffer();
7474
if (error) {
7575
console.log(error);
@@ -83,7 +83,7 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
8383
});
8484
```
8585

86-
在浏览器中创建 Excel 并下载
86+
在浏览器中创建工作簿并下载
8787

8888
<details>
8989
<summary>查看代码</summary>
@@ -115,7 +115,7 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
115115
f.SetCellValue('Sheet1', 'B2', 100);
116116
// 设置工作簿的默认工作表
117117
f.SetActiveSheet(index);
118-
// 根据指定路径保存文件
118+
// 根据指定路径保存工作簿
119119
const { buffer, error } = f.WriteToBuffer();
120120
if (error) {
121121
console.log(error);
@@ -137,9 +137,9 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
137137

138138
</details>
139139

140-
### 读取 Excel 文档
140+
### 读取工作簿
141141

142-
下面是读取 Excel 文档的例子
142+
下面是读取工作簿的例子
143143

144144
```javascript
145145
const { init } = require('excelize-wasm');
@@ -173,7 +173,7 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
173173
});
174174
```
175175

176-
### 在 Excel 文档中创建图表
176+
### 创建图表
177177

178178
使用 Excelize 生成图表十分简单,仅需几行代码。您可以根据工作表中的已有数据构建图表,或向工作表中添加数据并创建图表。
179179

@@ -233,7 +233,7 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
233233
console.log(ret3.error);
234234
return;
235235
}
236-
// 根据指定路径保存文件
236+
// 根据指定路径保存工作簿
237237
const { buffer, error } = f.WriteToBuffer();
238238
if (error) {
239239
console.log(error);
@@ -247,7 +247,7 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
247247
});
248248
```
249249

250-
### 向 Excel 文档中插入图片
250+
### 在工作表中插入图片
251251

252252
```javascript
253253
const { init } = require('excelize-wasm');
@@ -296,7 +296,7 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
296296
console.log(ret3.error);
297297
return;
298298
}
299-
// 根据指定路径保存文件
299+
// 根据指定路径保存工作簿
300300
const { buffer, error } = f.WriteToBuffer();
301301
if (error) {
302302
console.log(error);
@@ -320,4 +320,4 @@ init('./node_modules/excelize-wasm/excelize.wasm.gz').then((excelize) => {
320320

321321
Excel 徽标是 [Microsoft Corporation](https://aka.ms/trademarks-usage) 的商标,项目的图片是一种改编。
322322

323-
Go gopher 由 [Renee French](https://go.dev/doc/gopher/README) 创作,遵循 [Creative Commons 4.0 Attributions license](http://creativecommons.org/licenses/by/4.0/) 创作共用授权条款。
323+
Go gopher 由 [Renee French](https://go.dev/doc/gopher/README) 创作,遵循 [Creative Commons 4.0 Attributions license](https://creativecommons.org/licenses/by/4.0/) 创作共用授权条款。

cmd/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
module github.com/xuri/excelize-wasm/cmd
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
66
github.com/stretchr/testify v1.11.1
7-
github.com/xuri/excelize/v2 v2.10.1-0.20260127013103-4917cff6d84d
8-
golang.org/x/image v0.35.0
7+
github.com/xuri/excelize/v2 v2.10.2-0.20260227001322-3e9bc141d4a4
8+
golang.org/x/image v0.36.0
99
)
1010

1111
require (
@@ -16,8 +16,8 @@ require (
1616
github.com/tiendc/go-deepcopy v1.7.2 // indirect
1717
github.com/xuri/efp v0.0.1 // indirect
1818
github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9 // indirect
19-
golang.org/x/crypto v0.47.0 // indirect
20-
golang.org/x/net v0.49.0 // indirect
21-
golang.org/x/text v0.33.0 // indirect
19+
golang.org/x/crypto v0.48.0 // indirect
20+
golang.org/x/net v0.51.0 // indirect
21+
golang.org/x/text v0.34.0 // indirect
2222
gopkg.in/yaml.v3 v3.0.1 // indirect
2323
)

cmd/go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ github.com/tiendc/go-deepcopy v1.7.2 h1:Ut2yYR7W9tWjTQitganoIue4UGxZwCcJy3orjrrI
1212
github.com/tiendc/go-deepcopy v1.7.2/go.mod h1:4bKjNC2r7boYOkD2IOuZpYjmlDdzjbpTRyCx+goBCJQ=
1313
github.com/xuri/efp v0.0.1 h1:fws5Rv3myXyYni8uwj2qKjVaRP30PdjeYe2Y6FDsCL8=
1414
github.com/xuri/efp v0.0.1/go.mod h1:ybY/Jr0T0GTCnYjKqmdwxyxn2BQf2RcQIIvex5QldPI=
15-
github.com/xuri/excelize/v2 v2.10.1-0.20260127013103-4917cff6d84d h1:+hP0nTSblrRkY9x2N9NqQWGsy3J/J5PErvr58I3Wcec=
16-
github.com/xuri/excelize/v2 v2.10.1-0.20260127013103-4917cff6d84d/go.mod h1:vNleVHp3A4VEl9OnVNy3obCTtjqlOq/k0r5ik1PX4h0=
15+
github.com/xuri/excelize/v2 v2.10.2-0.20260227001322-3e9bc141d4a4 h1:R7nQI8A8ZgZp+8QMcisIYqqrK1mkPOqdE3BAsw0vjtM=
16+
github.com/xuri/excelize/v2 v2.10.2-0.20260227001322-3e9bc141d4a4/go.mod h1:iG5tARpgaEeIhTqt3/fgXCGoBRt4hNXgCp3tfXKoOIc=
1717
github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9 h1:+C0TIdyyYmzadGaL/HBLbf3WdLgC29pgyhTjAT/0nuE=
1818
github.com/xuri/nfp v0.0.2-0.20250530014748-2ddeb826f9a9/go.mod h1:WwHg+CVyzlv/TX9xqBFXEZAuxOPxn2k1GNHwG41IIUQ=
19-
golang.org/x/crypto v0.47.0 h1:V6e3FRj+n4dbpw86FJ8Fv7XVOql7TEwpHapKoMJ/GO8=
20-
golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A=
21-
golang.org/x/image v0.35.0 h1:LKjiHdgMtO8z7Fh18nGY6KDcoEtVfsgLDPeLyguqb7I=
22-
golang.org/x/image v0.35.0/go.mod h1:MwPLTVgvxSASsxdLzKrl8BRFuyqMyGhLwmC+TO1Sybk=
23-
golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o=
24-
golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8=
25-
golang.org/x/text v0.33.0 h1:B3njUFyqtHDUI5jMn1YIr5B0IE2U0qck04r6d4KPAxE=
26-
golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8=
19+
golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts=
20+
golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos=
21+
golang.org/x/image v0.36.0 h1:Iknbfm1afbgtwPTmHnS2gTM/6PPZfH+z2EFuOkSbqwc=
22+
golang.org/x/image v0.36.0/go.mod h1:YsWD2TyyGKiIX1kZlu9QfKIsQ4nAAK9bdgdrIsE7xy4=
23+
golang.org/x/net v0.51.0 h1:94R/GTO7mt3/4wIKpcR5gkGmRLOuE/2hNGeWq/GBIFo=
24+
golang.org/x/net v0.51.0/go.mod h1:aamm+2QF5ogm02fjy5Bb7CQ0WMt1/WVM7FtyaTLlA9Y=
25+
golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk=
26+
golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA=
2727
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
2828
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2929
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

0 commit comments

Comments
 (0)