Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
hexo-broken-links-checker
Advanced tools
hexo-broken-links-checker
is a plugin for Hexo static site generator that checks broken links.
check-links
console command appears.npx hexo check-links
the plugin will scan all posts (and their frontmatter, if it is configured) and extract all links to external resources (http://
and https://
only).2xx
), the console error will appear 👌.$ npm install hexo-broken-links-checker --save-dev
$ npx hexo check-links
It's useful to integrate the command running into CI workflow.
To configure the plugin add broken_links_checker
key to the Hexo config file. For example:
broken_links_checker:
enable: true
head: true
frontmatter:
- links
exclude:
- https://website1.com/page1.html
- https://website2.com/page2.html
timeout: 1000
Key | Required | Default value | Description |
---|---|---|---|
enable | false | true | Enable/disable broken links checking. |
head | false | true | If set, the plugin will use HTTP HEAD method to check the link. If checking fails, it will fall back to HTTP GET method before reporting that URL is broken. Using HTTP HEAD method usually speed up the checking. |
frontmatter | false | empty | Keys in frontmatter that should be scanned in addition to post content. |
exclude | false | empty | Array of URLs that should be ignored for some reason. |
timeout | false | 0 | Timeout in milliseconds for URL checking. Use 0 if you don't want to use any timeout. |
FAQs
Broken links checker for Hexo static site generator
The npm package hexo-broken-links-checker receives a total of 11 weekly downloads. As such, hexo-broken-links-checker popularity was classified as not popular.
We found that hexo-broken-links-checker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.