Skip to content

Commit e74aec5

Browse files
committed
Bump version 1.3.0
1 parent 0659a88 commit e74aec5

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

CHANGELOG.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9-
## [1.1.2] - 2020-10-16
9+
## [1.3.0] - 2020-10-24
10+
11+
### Added
12+
- Clean `utm_*` queries.
13+
14+
### Fixed
15+
- Fix `decodeURI` error.
16+
17+
## [1.2.1] - 2020-10-17
18+
19+
### Fixed
20+
- Handle JSDOM error.
21+
22+
## [1.2.0] - 2020-10-16
1023

1124
### Added
1225
- Add timeout option support.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wabarc/cairn",
3-
"version": "1.2.1",
3+
"version": "1.3.0",
44
"description": "Node package and CLI tool for saving web page as single HTML file",
55
"main": "dist/cairn.js",
66
"types": "dist/cairn.d.ts",

src/cli.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@ class Handler {
6767

6868
private parser() {
6969
const program = new Command();
70+
const version = process.env.npm_package_version || '0.0.1';
7071

7172
program
7273
.name('cairn')
7374
.usage('[options] url1 [url2]...[urlN]')
74-
.version('1.0.0', '-v, --version', 'output the current version')
75+
.version(version, '-v, --version', 'output the current version')
7576
.description('CLI tool for saving web page as single HTML file');
7677

7778
program.option('-o, --output <string>', 'path to save archival result');

0 commit comments

Comments
 (0)