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.
@material/progress-indicator
Advanced tools
The Material Components for the web interface for Progress Indicators
The MDC Progress Indicator component exposes common foundation and component interfaces for a progress indicator. Components that implement these interfaces include linear progress and circular progress. Material Design progress & activity requirements.
npm install @material/progress-indicator
MDC Progress Indicator Foundation exposes the following methods:
Method Signature | Description |
---|---|
setDeterminate(value: boolean) => void | Toggles the component between the determinate and indeterminate state. |
isDeterminate() => boolean | Whether or not the component is in determinate state. |
setProgress(value: number) => void | Sets the progress to this value. Value should be between [0, 1]. |
getProgress() => number | The current progress value in the interval [0,1]. |
open() => void | Puts the component in the open state. |
close() => void | Puts the component in the closed state. |
isClosed() => boolean | Whether or not the progress indicator is closed. |
MDC Progress Indicator exposes the following API:
Method Signature | Description |
---|---|
determinate: boolean | Whether the indicator is in the determinate or indeterminate state. |
progress: number | The current progress. Value should be between [0, 1]. |
open() => void | Puts the component in the open state. |
close() => void | Puts the component in the closed state. |
FAQs
The Material Components for the web interface for Progress Indicators
The npm package @material/progress-indicator receives a total of 333,413 weekly downloads. As such, @material/progress-indicator popularity was classified as popular.
We found that @material/progress-indicator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 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.
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.