Skip to content

Commit 51bcd26

Browse files
committed
Upgrade Wombat.JS version
1 parent cc017df commit 51bcd26

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ repos:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
1010
- repo: https://github.com/psf/black
11-
rev: '25.1.0'
11+
rev: '25.9.0'
1212
hooks:
1313
- id: black
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.11.8
15+
rev: v0.13.1
1616
hooks:
1717
- id: ruff
1818
- repo: https://github.com/RobertCraigie/pyright-python
19-
rev: v1.1.400
19+
rev: v1.1.405
2020
hooks:
2121
- id: pyright
2222
name: pyright (system)

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
### Added
10+
### Added
1111

1212
- New `zim.dedup.Deduplicator` class to handle automatic deduplication of content before adding to the ZIM (#33)
1313

1414
### Changed
1515

16-
- Upgrade dependencies, especially wombat 3.8.12 (#262)
16+
- Upgrade dependencies, especially wombat 3.9.1 (#262, #263)
1717
- Backport changes in wabac.js around JS rewriting rules (#259)
1818

1919
### Fixed

openzim.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ execute_after=[
66

77
[files.assets.actions."wombat.js"]
88
action="get_file"
9-
source="https://cdn.jsdelivr.net/npm/@webrecorder/wombat@3.8.12/dist/wombat.js"
9+
source="https://cdn.jsdelivr.net/npm/@webrecorder/wombat@3.9.1/dist/wombat.js"
1010
target_file="wombat.js"

pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ dependencies = [
1818
"python-magic>=0.4.3,<0.5",
1919
"libzim>=3.4.0,<4.0",
2020
"beautifulsoup4>=4.9.3,<5.0",
21-
"lxml>=4.6.3,<6.0",
21+
"lxml>=4.6.3,<7.0",
2222
"optimize-images>=1.3.6,<2.0",
2323
# regex has no upper-bound due to "date-based" release numbers, no semver, so their
2424
# promise is that they will never (or always) break the API, and the API is very
2525
# limited and we use only a very small subset of it.
2626
"regex>=2020.7.14",
2727
"pymupdf>=1.24.0,<2.0",
2828
"CairoSVG>=2.2.0,<3.0",
29-
"beartype>=0.19,<0.21",
29+
"beartype>=0.19,<0.22",
3030
# youtube-dl should be updated as frequently as possible
3131
"yt-dlp",
3232
"pillow>=7.0.0,<12.0",
33-
"urllib3>=1.26.5,<2.5.0",
33+
"urllib3>=1.26.5,<2.6.0",
3434
"piexif==1.1.3", # this dep is a nightmare in terms of release management, better pinned just like in optimize-images anyway
3535
"idna>=2.5,<4.0",
3636
"xxhash>=2.0,<4.0",
@@ -58,30 +58,30 @@ scripts = [
5858

5959
]
6060
lint = [
61-
"black==25.1.0",
62-
"ruff==0.11.8",
61+
"black==25.9.0",
62+
"ruff==0.13.1",
6363
]
6464
check = [
65-
"pyright==1.1.400",
66-
"pytest==8.3.5",
65+
"pyright==1.1.405",
66+
"pytest==8.4.2",
6767
]
6868
test = [
69-
"pytest==8.3.5",
70-
"pytest-mock==3.14.0",
71-
"coverage==7.8.0",
69+
"pytest==8.4.2",
70+
"pytest-mock==3.15.1",
71+
"coverage==7.10.7",
7272
]
7373
docs = [
7474
"mkdocs==1.6.1",
75-
"mkdocstrings[python]==0.29.1",
76-
"mkdocs-material==9.6.12",
77-
"pymdown-extensions==10.15",
75+
"mkdocs-include-markdown-plugin==7.1.7",
76+
"mkdocs-material==9.6.20",
77+
"mkdocstrings[python]==0.30.1",
78+
"pymdown-extensions==10.16.1",
7879
"mkdocs-gen-files==0.5.0",
7980
"mkdocs-literate-nav==0.6.2",
80-
"mkdocs-include-markdown-plugin==7.1.5",
8181
]
8282
dev = [
83-
"ipython==9.2.0",
84-
"pre-commit==4.2.0",
83+
"ipython==9.5.0",
84+
"pre-commit==4.3.0",
8585
"zimscraperlib[scripts]",
8686
"zimscraperlib[lint]",
8787
"zimscraperlib[test]",

0 commit comments

Comments
 (0)