
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@10up/component-accordion
Advanced tools
View official documentation for this package
npm install --save @10up/component-accordion
@import url("@10up/component-accordion");
The styles can be imported into your existing codebase by using PostCSS imports, or by including the standalone CSS file in your project.
Create a new instance by supplying the selector to use for the accordion and an object containing any necessary callback functions.
import Accordion from '@10up/component-accordion';
new Accordion( '.accordion', {
onCreate: function() {
console.log( 'onCreate callback' );
},
onOpen: function( { link, content, heading } ) {
console.log( 'onOpen callback' );
},
onClose: function( { link, content, heading } ) {
console.log( 'onClose callback' );
},
onToggle: function( { link, content, heading } ) {
console.log( 'onToggle callback' );
}
} );
Example implementations at: https://baseline.10up.com/component/accordion/
Active: 10up is actively working on this, and we expect to continue work for the foreseeable future including keeping tested up to the most recent version of WordPress. Bug reports, feature requests, questions, and pull requests are welcome.
FAQs
Accessible accordion component.
The npm package @10up/component-accordion receives a total of 473 weekly downloads. As such, @10up/component-accordion popularity was classified as not popular.
We found that @10up/component-accordion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.