Skip to content

Commit

Permalink
Updated dependencies, sinon stub syntax, node v10+.
Browse files Browse the repository at this point in the history
  • Loading branch information
kcartlidge committed Feb 21, 2021
1 parent 419630b commit f51248c
Show file tree
Hide file tree
Showing 7 changed files with 3,158 additions and 1,143 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGE LOG

## 2021-02-16 - v2.2.1

- Now developed against Node v15.6.0
- Updated dependencies
- Updated Sinon stub syntax in tests

## 2020-04-14

- Merged `RELEASES.md` into here
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Nodepub v2.2.0
# Nodepub v2.2.1

Create valid EPUB (v2) ebooks with metadata, contents and cover image.

Expand All @@ -19,6 +19,9 @@ Nodepub is a **Node** module which can be used to create **EPUB (v2)** documents
* Exclude sections from auto contents page and metadata-based navigation
* OEBPS and other 'expected' subfolders within the EPUB

Development is done against Node v15.6.0 since v2.2.1 (February 2021).
Relatively recent earlier Node versions should work fine.

## Installing Nodepub

Add it as with any other module:
Expand Down Expand Up @@ -222,6 +225,16 @@ This will auto-fix what it can. You will have less issues if your editor/IDE als

* For viewing generated metadata and content both Microsoft Edge and Calibre have good EPUB readers.

## Automatic upgrading of dependencies to the latest

Remember to run the tests and to check the generated books using (at least) the IDPF validator before committing.

``` sh
npm install -g npm-check-updates
ncu -u
npm i
```

## Reminder

This is a utility module, not a user-facing one. In other words it is assumed that the caller has already validated the inputs. Only basic ommission checks are performed.
Binary file modified example/example.epub
Binary file not shown.
Loading

0 comments on commit f51248c

Please sign in to comment.