Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@docusaurus/plugin-debug
Advanced tools
@docusaurus/plugin-debug is a plugin for Docusaurus that helps developers debug their Docusaurus site by providing various debugging tools and utilities.
Debugging Information
This feature allows you to add the @docusaurus/plugin-debug to your Docusaurus site configuration. Once added, it provides debugging information that can help you troubleshoot issues with your site.
module.exports = {
plugins: ['@docusaurus/plugin-debug'],
};
Debugging Routes
This feature enables debugging routes, which helps you understand how your site's routes are being processed and rendered. This can be particularly useful for identifying routing issues.
module.exports = {
plugins: [
[
'@docusaurus/plugin-debug',
{
debugRoutes: true,
},
],
],
};
Debugging Metadata
This feature enables debugging metadata, which provides insights into the metadata being used by your Docusaurus site. This can help you ensure that your metadata is correctly configured.
module.exports = {
plugins: [
[
'@docusaurus/plugin-debug',
{
debugMetadata: true,
},
],
],
};
webpack-bundle-analyzer is a tool that helps you visualize the size of webpack output files with an interactive zoomable treemap. It is similar to @docusaurus/plugin-debug in that it provides insights into your project's build, but it is focused on webpack bundles rather than Docusaurus-specific debugging.
ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code. While it is not specific to Docusaurus, it provides debugging and linting capabilities that can help you maintain code quality and catch potential issues early in the development process.
Jest is a delightful JavaScript Testing Framework with a focus on simplicity. It provides a comprehensive suite of testing utilities that can help you debug and ensure the correctness of your code. While it is not specific to Docusaurus, it can be used to test and debug the JavaScript code within your Docusaurus site.
FAQs
Debug plugin for Docusaurus.
The npm package @docusaurus/plugin-debug receives a total of 217,148 weekly downloads. As such, @docusaurus/plugin-debug popularity was classified as popular.
We found that @docusaurus/plugin-debug demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.