linkinator
Advanced tools
Comparing version 6.0.5 to 6.0.6
{ | ||
"name": "linkinator", | ||
"description": "Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.", | ||
"version": "6.0.5", | ||
"version": "6.0.6", | ||
"license": "MIT", | ||
@@ -31,3 +31,3 @@ "repository": "JustinBeckwith/linkinator", | ||
"htmlparser2": "^9.0.0", | ||
"marked": "^12.0.1", | ||
"marked": "^13.0.0", | ||
"meow": "^13.0.0", | ||
@@ -44,3 +44,3 @@ "mime": "^4.0.0", | ||
"@types/sinon": "^17.0.0", | ||
"c8": "^9.0.0", | ||
"c8": "^10.0.0", | ||
"execa": "^9.0.0", | ||
@@ -47,0 +47,0 @@ "mocha": "^10.0.0", |
@@ -130,3 +130,3 @@ # 🐿 linkinator | ||
```sh | ||
linkinator http://jbeckwith.com --skip '^(?!http://jbeckwith.com)' | ||
npx linkinator http://jbeckwith.com --skip '^(?!http://jbeckwith.com)' | ||
``` | ||
@@ -137,3 +137,3 @@ | ||
```sh | ||
linkinator ./docs --format CSV | ||
npx linkinator ./docs --format CSV | ||
``` | ||
@@ -144,3 +144,3 @@ | ||
```sh | ||
linkinator ./README.md --markdown | ||
npx linkinator ./README.md --markdown | ||
``` | ||
@@ -151,3 +151,3 @@ | ||
```sh | ||
linkinator "**/*.md" --markdown | ||
npx linkinator "**/*.md" --markdown | ||
``` | ||
@@ -186,3 +186,3 @@ | ||
```sh | ||
linkinator --config /some/path/your-config.json | ||
npx linkinator --config /some/path/your-config.json | ||
``` | ||
@@ -247,6 +247,7 @@ | ||
```js | ||
const link = require('linkinator'); | ||
import { LinkChecker } from 'linkinator'; | ||
async function simple() { | ||
const results = await link.check({ | ||
const checker = new LinkChecker(); | ||
const results = await checker.check({ | ||
path: 'http://example.com' | ||
@@ -286,7 +287,7 @@ }); | ||
```js | ||
const link = require('linkinator'); | ||
import { LinkChecker } from 'linkinator'; | ||
async function complex() { | ||
// create a new `LinkChecker` that we'll use to run the scan. | ||
const checker = new link.LinkChecker(); | ||
const checker = new LinkChecker(); | ||
@@ -350,3 +351,3 @@ // Respond to the beginning of a new page being scanned | ||
```sh | ||
linkinator "**/*.md" --markdown | ||
npx linkinator "**/*.md" --markdown | ||
``` | ||
@@ -361,3 +362,3 @@ | ||
```sh | ||
linkinator https://jbeckwith.com --verbosity DEBUG | ||
npx linkinator https://jbeckwith.com --verbosity DEBUG | ||
``` | ||
@@ -370,3 +371,3 @@ | ||
```sh | ||
linkinator https://jbeckwith.com --verbosity DEBUG --format JSON | jq '.links | .[] | select(.state | contains("BROKEN"))' | ||
npx linkinator https://jbeckwith.com --verbosity DEBUG --format JSON | jq '.links | .[] | select(.state | contains("BROKEN"))' | ||
``` | ||
@@ -373,0 +374,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70062
368
+ Addedmarked@13.0.3(transitive)
- Removedmarked@12.0.2(transitive)
Updatedmarked@^13.0.0