remark-validate-links
Advanced tools
Comparing version 10.0.0 to 10.0.1
@@ -33,3 +33,3 @@ 'use strict' | ||
function onaccess(err) { | ||
var noEntry = err && err.code === 'ENOENT' | ||
var noEntry = err && (err.code === 'ENOENT' || err.code === 'ENOTDIR') | ||
@@ -36,0 +36,0 @@ landmarks[filePath] = {'': !noEntry} |
{ | ||
"name": "remark-validate-links", | ||
"version": "10.0.0", | ||
"version": "10.0.1", | ||
"description": "remark plugin to validate links to headings and files", | ||
@@ -56,10 +56,10 @@ "license": "MIT", | ||
"prettier": "^2.0.0", | ||
"remark": "^11.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"remark": "^12.0.0", | ||
"remark-cli": "^8.0.0", | ||
"remark-preset-wooorm": "^7.0.0", | ||
"rimraf": "^3.0.0", | ||
"strip-ansi": "^6.0.0", | ||
"tape": "^4.0.0", | ||
"tape": "^5.0.0", | ||
"vfile-sort": "^2.0.0", | ||
"xo": "^0.28.0" | ||
"xo": "^0.32.0" | ||
}, | ||
@@ -90,2 +90,4 @@ "scripts": { | ||
"rules": { | ||
"unicorn/prefer-optional-catch-binding": "off", | ||
"unicorn/no-fn-reference-in-iterator": "off", | ||
"unicorn/prefer-includes": "off", | ||
@@ -92,0 +94,0 @@ "guard-for-in": "off" |
@@ -147,3 +147,3 @@ # remark-validate-links | ||
You can pass a `repository` (`string?`, `false`). | ||
If `repository` is nully, the Git origin remote is detected. | ||
If `repository` is nullish, the Git origin remote is detected. | ||
If the repository resolves to something [npm understands][package-repository] | ||
@@ -160,3 +160,3 @@ as a Git host such as GitHub, GitLab, or Bitbucket, full URLs to that host | ||
root directory (the place where `.git` is). | ||
If both `root` and `repository` are nully, the Git root is detected. | ||
If both `root` and `repository` are nullish, the Git root is detected. | ||
If `root` is not given but `repository` is, [`file.cwd`][cwd] is used. | ||
@@ -163,0 +163,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
28708