Skip to content

Commit e9d2e87

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

File tree

119 files changed

+26838
-15535
lines changed

Some content is hidden

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

119 files changed

+26838
-15535
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
coverage/
2+
lib-cjs/
13
node_modules/
4+
.nyc_output/
25
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: 286 additions & 183 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: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
* 0.8.0
2+
* dropped support for Node versions below 12.0
3+
* API changes
4+
* `linkObj` renamed to `Link`, and schema changed
5+
* options added: `includedKeywords`, `includePage`, `retryHeadCodes`
6+
* options changed: `acceptedSchemes`, `excludeLinksToSamePage`, `excludedSchemes`
7+
* options renamed: `cacheExpiryTime``cacheMaxAge`, `customFilter``includeLink`, `retry405Head``retryHeadFail`
8+
* CLI options added: `--include`, `--verbosity`
9+
* CLI options removed: `--verbose`
10+
* added [WHATWG URL specification](https://url.spec.whatwg.org)-compliance
11+
* added support for HTTP basic auth, compression, proxies
12+
* added support for file:// protocol
13+
* added missing tags/attributes
14+
* added support for pausing/resuming the CLI
15+
* added progress bar and OS notification to the CLI
16+
* refactored to ES2015+
17+
* test suite improvements
18+
* bug fixes
119
* 0.7.8 fix for Node.js v9
220
* 0.7.7 added `--host-requests`, `--requests` CLI options
321
* 0.7.6 bug fix
@@ -10,11 +28,11 @@
1028
* added `SiteChecker`
1129
* methods added: `numPages()`, `numSites()`
1230
* methods removed: `numActiveItems()`
13-
* methods renamed: `length()`->`numQueuedLinks()`
31+
* methods renamed: `length()``numQueuedLinks()`
1432
* options added: `honorRobotExclusions`
1533
* options removed: `excludeResponseData`
1634
* handlers added: `html`, `robots`
17-
* handlers renamed: `item`->`page`
35+
* handlers renamed: `item``page`
1836
* CLI options added: `--follow`, `--recursive`, `--user-agent`
1937
* linkObj added: `brokenReason`, `excludedReason`, `html.location`
2038
* linkObj removed: `error`, `http.redirects`, `http.statusCode`
@@ -52,9 +70,9 @@
5270
* API change
5371
* CLI options
5472
* options added: `excludeExternalLinks`, `excludeResponseData`, `maxSockets`
55-
* options renamed: `maxSockets`->`maxSocketsPerHost`
73+
* options renamed: `maxSockets``maxSocketsPerHost`
5674
* linkObj added: `http`
57-
* linkObj moved: `response`->`http.response`
75+
* linkObj moved: `response``http.response`
5876
* linkObj changed: `internal` and `samePage` now compares the base URL (ignoring `<base>`) with links that may have `<base>` applied
5977
* switched from [request](https://npmjs.com/request) to [bhttp](https://npmjs.com/bhttp)
6078
* 0.4.3 added `rateLimit` option, cleanup
@@ -68,7 +86,7 @@
6886
* linkObj added: `html.selector`
6987
* 0.3.0
7088
* options added: `maxSockets`
71-
* options renamed: `site`->`base`
89+
* options renamed: `site``base`
7290
* `<base>` supported
7391
* requesting links now only downloads the response header
7492
* faster test suite

0 commit comments

Comments
 (0)