Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@orchidjs/eleventy-plugin-ids
Advanced tools
@11ty plugin for adding ids to html headings and other elements
@11ty plugin for adding ids to html headings and other elements
<h1>Foo Bar</h1>
will become
<h1 id="foo-bar">Foo Bar</h1>
npm install @orchidjs/eleventy-plugin-ids
Add eleventy-plugin-ids to your .eleventy.js file
module.exports = function(eleventyConfig) {
//...
const anchors_plugin = require('@orchidjs/eleventy-plugin-ids');
eleventyConfig.addPlugin(anchors_plugin);
//...
}
module.exports = function(eleventyConfig) {
//...
const anchors_plugin = require('@orchidjs/eleventy-plugin-ids');
eleventyConfig.addPlugin(anchors_plugin,{
selectors: ['h1','h2','h3','h4','h5','h6'],
prefix: 'custom-id-prefix-',
formatter: function(element,existing_ids_array){
return '--generate-a-custom-id-here-',
}
});
//...
}
FAQs
@11ty plugin for adding ids to html headings and other elements
The npm package @orchidjs/eleventy-plugin-ids receives a total of 13 weekly downloads. As such, @orchidjs/eleventy-plugin-ids popularity was classified as not popular.
We found that @orchidjs/eleventy-plugin-ids 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.