Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

linkinator

Package Overview
Dependencies
Maintainers
0
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkinator - npm Package Compare versions

Comparing version 6.0.5 to 6.0.6

6

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc