Skip to content

Commit 03a0114

Browse files
committed
v0.8.0-alpha
1 parent 59808ac commit 03a0114

File tree

118 files changed

+26704
-15540
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+26704
-15540
lines changed

.eslintrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"overrides":
3+
[
4+
{
5+
"extends": ["./scripts/eslintrc.esm.js"],
6+
"files": ["./lib/**/*.js", "./test/**/*.js"]
7+
},
8+
{
9+
"extends": ["./scripts/eslintrc.cjs.js"],
10+
"files": ["./scripts/**/*.js"]
11+
}
12+
],
13+
"root": true
14+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
coverage/
2+
lib-cjs/
13
node_modules/
24
package-lock.json

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
language: node_js
22
node_js:
3-
- "0.10"
4-
- "0.12"
5-
- 4
6-
- 6
7-
- 8
8-
- node
9-
script: npm test
3+
- 12
4+
- node
5+
script: npm run ci

README.md

Lines changed: 292 additions & 191 deletions
Large diffs are not rendered by default.

bin/blc

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env node
22

3-
new (require("../lib/cli"))().input();
3+
require("../lib-cjs/cli")();

changelog.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
* 0.8.0
2+
* dropped support for Node versions below 14.0
3+
* API changes
4+
* `linkObj` renamed to `Link`, and schema changed
5+
* options added: `includePage`, `retryHeadCodes`
6+
* options changed: `acceptedSchemes`, `excludeLinksToSamePage`
7+
* options removed: `excludedSchemes`
8+
* options renamed: `acceptedSchemes``includedSchemes`, `cacheExpiryTime``cacheMaxAge`, `customFilter``includeLink`, `retry405Head``retryHeadFail`
9+
* CLI options added: `--include`, `--verbosity`
10+
* CLI options removed: `--verbose`
11+
* added [WHATWG URL specification](https://url.spec.whatwg.org) compliance
12+
* added support for HTTP basic auth, compression
13+
* added support for file:// protocol
14+
* added missing tags/attributes
15+
* added support for pausing/resuming the CLI
16+
* added progress bar and OS notification to the CLI
17+
* refactored to ES2015+
18+
* test suite improvements
19+
* bug fixes
120
* 0.7.8 fix for Node.js v9
221
* 0.7.7 added `--host-requests`, `--requests` CLI options
322
* 0.7.6 bug fix
@@ -10,11 +29,11 @@
1029
* added `SiteChecker`
1130
* methods added: `numPages()`, `numSites()`
1231
* methods removed: `numActiveItems()`
13-
* methods renamed: `length()`->`numQueuedLinks()`
32+
* methods renamed: `length()``numQueuedLinks()`
1433
* options added: `honorRobotExclusions`
1534
* options removed: `excludeResponseData`
1635
* handlers added: `html`, `robots`
17-
* handlers renamed: `item`->`page`
36+
* handlers renamed: `item``page`
1837
* CLI options added: `--follow`, `--recursive`, `--user-agent`
1938
* linkObj added: `brokenReason`, `excludedReason`, `html.location`
2039
* linkObj removed: `error`, `http.redirects`, `http.statusCode`
@@ -52,9 +71,9 @@
5271
* API change
5372
* CLI options
5473
* options added: `excludeExternalLinks`, `excludeResponseData`, `maxSockets`
55-
* options renamed: `maxSockets`->`maxSocketsPerHost`
74+
* options renamed: `maxSockets``maxSocketsPerHost`
5675
* linkObj added: `http`
57-
* linkObj moved: `response`->`http.response`
76+
* linkObj moved: `response``http.response`
5877
* linkObj changed: `internal` and `samePage` now compares the base URL (ignoring `<base>`) with links that may have `<base>` applied
5978
* switched from [request](https://npmjs.com/request) to [bhttp](https://npmjs.com/bhttp)
6079
* 0.4.3 added `rateLimit` option, cleanup
@@ -68,7 +87,7 @@
6887
* linkObj added: `html.selector`
6988
* 0.3.0
7089
* options added: `maxSockets`
71-
* options renamed: `site`->`base`
90+
* options renamed: `site``base`
7291
* `<base>` supported
7392
* requesting links now only downloads the response header
7493
* faster test suite

0 commit comments

Comments
 (0)