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.
mosaic-audio
Advanced tools
A simple, lightweight wrapper for the HTML media element, specifically targetting audio functionality. There is no styling included in this wrapper.
npm i mosaic-audio --save
Supply a player ID, a source file, and CSS class names for each nested element. If no class names or ID's are given, default classes/ID's are created. The margin property is used to determine whether or not the playhead moves via margin change or via padding change. If the margin is marked as false, it'll move by increasing padding. Its default value is true.
Other available properties: playerId, playerClass, timelineClass, playheadClass, & durationClass.
import './css/main.css';
import React from 'react';
import ReactDOM from 'react-dom';
import Mosaic from 'mosaic-audio';
const App = () => (
<Mosaic
margin={false}
playClass="fa fa-play"
pauseClass="fa fa-pause"
source="audio/1.wav"
/>
);
ReactDOM.render(<App/>, document.getElementById('app'));
Feel free to create an issue, or message me at @mskalandunas if you have any questions.
FAQs
A React audio wrapper for the HTML media element.
The npm package mosaic-audio receives a total of 5 weekly downloads. As such, mosaic-audio popularity was classified as not popular.
We found that mosaic-audio 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.