Skip to content

Commit

Permalink
Merge pull request #44 from wshito/dep2025Jan
Browse files Browse the repository at this point in the history
Ready for Release 1.0.7

- Updated all the dependencies.
- Requires Node.js v18 or higher.
- Fixed the parse error for command line arguments.
  • Loading branch information
wshito authored Jan 7, 2025
2 parents 0d7d3cd + 75fdf72 commit d659765
Show file tree
Hide file tree
Showing 11 changed files with 2,934 additions and 1,782 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,25 @@ jobs:

strategy:
matrix:
node-version: [14.x, 15.x, 16.x, 18.x]
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.4'

- name: Install Asciidoctor
run: gem install asciidoctor

- name: Verify Asciidoctor installation
run: asciidoctor --version

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ test/resources/output
tmp*
asciidoctor-chunker_v*
dist/*.asciidoctor-chunker.js
asciidoctor-chunker.js.LICENSE.txt
asciidoctor-chunker.js.LICENSE.txt
.DS_Store
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.

## Unreleased

## v1.0.7 (2025-01-07)
### Changed
- Node.js v22.x is supported now. Requires Node.js v18.x or higher.

### Fixed
- The command line parsing error with the commander.js v13.0.0 is fixed.

### Security
- Updated all the dependencies and fixed the vulnerabilities.

## v1.0.6 (2023-02-20)
### Fixed
- Prevents page navigation with Shift+[Right/Left] arrow key. (PR [#42] (https://github.com/wshito/asciidoctor-chunker/pull/42) from @chloekek)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Generates chunked (multi-page) HTML from Asciidoctor's single HTML file with the

See [CHANGELOG.md](CHANGELOG.md) for the complete history

- 2025/1/7 [Ver 1.0.7](https://github.com/wshito/asciidoctor-chunker/releases) Updated all the dependencies and Node.js v22.x is supported. Requires Node.js v18.x or higher.
- 2023/2/20 [Ver 1.0.6](https://github.com/wshito/asciidoctor-chunker/releases) Page navigation is disabled with shift+arrow (thanks to [@chloekek](https://github.com/chloekek)).
- 2022/9/14 [Ver 1.0.5](https://github.com/wshito/asciidoctor-chunker/releases) Node.js v18.x is supported. The `npm` installs the shebang script so you can invoke asciidoctor-chunker with `npx`. When the target link within the document is missing, the anchor is still created with `target-missing` class attribute.
- 2021/8/3 [Ver 1.0.4](https://github.com/wshito/asciidoctor-chunker/releases) Added the keyboard shotcuts for the page navigation with arrow keys. Added the accessibility labels on the page navigation for screen readers.
Expand Down
3 changes: 2 additions & 1 deletion dist/asciidoctor-chunker.js

Large diffs are not rendered by default.

Loading

0 comments on commit d659765

Please sign in to comment.