Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
CSS utils for lightweight components development.
//include all css methods
var css = require('mucss');
//or include only submodules
var offset = require('mucss/offset');
var padding = require('mucss/padding');
//Apply set of css rules to an element, automatically prefixed.
//Numbers are automatically converted to `px`.
css(el, { transform: 'translate3d(10px,10px,0)' });
//Get style property value, properly prefixed.
css(el, 'transform');
//Get absolute offsets relative to the document, including `position: fixed` detection.
css.offset(el);
//Get element paddings.
css.paddings(el);
//Get element margins.
css.margins(el);
//Get element border widths.
css.borders(el);
//Parse units value.
css.parseValue('123em');
//Set & unset element selectability.
css.selection.enable(el);
css.selection.disable(el);
//Current browser CSS prefixes object.
css.prefix;
//A scrollbar size.
css.scrollbar;
//Whether element is in fixed element or is fixed itself.
css.isFixed(el);
//Whether document has horizontal (x) or vertical (y) scrollbar.
css.hasScrollX();
css.hasScrollY();
//Whether element is in the viewport.
css.isInViewport(el);
//Parse translate3d property of an element, if any.
css.getTranslate(el);
FAQs
μCSS — vital CSS utils
We found that mucss 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.