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

href-checker

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

href-checker - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

5

cli.js

@@ -136,6 +136,9 @@ #!/usr/bin/env node

function getResultType(result, options) {
const { pageExists, fragExists, error } = result.output;
const { pageExists, fragExists, error, status } = result.output;
if (error) {
return 3 /* err */;
}
if (status === 429 /** Too many requests */) {
return 3 /* err */;
}
if ((!pageExists && options.errorIf.has(result.type)) ||

@@ -142,0 +145,0 @@ (fragExists === false && options.errorIf.has("fragments"))) {

10

package.json
{
"name": "href-checker",
"version": "1.1.1",
"version": "1.1.2",
"description": "Hyperlink checker for HTML pages which checks href attributes by actually visiting linked pages and also checking existence of URL fragments.",

@@ -31,9 +31,9 @@ "keywords": [

"dependencies": {
"puppeteer": "^5.2.1",
"sade": "^1.7.3"
"puppeteer": "^5.4.1",
"sade": "^1.7.4"
},
"devDependencies": {
"@types/puppeteer": "^3.0.1",
"@types/puppeteer": "^5.4.0",
"@types/sade": "^1.7.2",
"typescript": "^3.9.7"
"typescript": "^4.0.5"
},

@@ -40,0 +40,0 @@ "engines": {

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