Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
liquid-tank
Advanced tools
Simple widget for displaying data from liquids.
Property | Description | Type | Default |
---|---|---|---|
min | Minimum value | Number | 0 |
max | Maximum value | Number | 1 |
segments | List of segments. | Array | [ ] |
dark | When set to true it adjusts colors for a darker background. | Boolean | false |
fontFamily | Font family for the displayed value | String | Arial |
fontSize | Font size for the displayed value | Number | 20 |
valueFormatter | Function used to format the displayed value. Must return a string. | Function |
var element = document.getElementById("widget");
var liquidTank = new LiquidTank(element, {
min: 0,
max: 100,
segments: [
{
color: "#00FF00",
startValue: 0,
endValue: 90
},
{
color: "#FF0000",
startValue: 90,
endValue: 100
}
],
dark: false,
fontFamily: 'Arial',
fontSize: 20,
valueFormatter: function (value) {
return value + ' L';
}
});
liquidTank.setValue(80);
FAQs
Simple widget for displaying data from liquids.
We found that liquid-tank 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.