Skip to content

Commit

Permalink
Merge pull request #10 from JuanMaRuiz/chore/release
Browse files Browse the repository at this point in the history
Chore/release
  • Loading branch information
JuanMaRuiz committed Sep 6, 2021
2 parents 67c044b + 0de6254 commit 99d8d4a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## [1.1.2] - 2020-12-29
### Chore
* Breaking change. Convert package to esm module.
## [2.0.0] - 2021-09-06
### Fix
* Fix validator for valid isbn-13 returned as false
## [1.1.1] - 2020-12-27
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

# ISBN Util

> **Breaking change** from version 2.0.0. From this version this module should be used as esm module. If you prefer use as CommonJS Module, install previous **v1.1.2**
This module **check if an ISBN is valid** or not **and** also provide a method to **generate** a **valid random ISBN-10** or **ISBN-13**

## Install
Expand All @@ -14,7 +16,7 @@ npm i isbn-util --save-dev
## Usage

```bash
const { validate, generate } = require('isbn-util');
import { validate, generate } from 'isbn-util';

validate('84-481-2231-3');
//=> true
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "isbn-util",
"version": "1.1.2",
"version": "2.0.0",
"description": "",
"main": "index.js",
"type": "module",
Expand Down

0 comments on commit 99d8d4a

Please sign in to comment.