
Product
Redesigned Repositories Page: A Faster Way to Prioritize Security Risk
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Post-processor for Polymer CSS polyfills
$ npm install --save polyfer
In a case that you are a task manager lover, please try gulp-polyfer or grunt-polyfer and have fun :)
var polyfer = require('polyfer');
polyfer('::content p { color: blue; }');
// => polyfill-next-selector { content: 'p' } ::content p { color: blue; }
polyfer('x-element ::content p {...}');
// => polyfill-next-selector {...} x-element ::content
polyfer(':scoped x-element p { color: blue; }');
// => polyfill-rule { content: 'x-element p'; color: blue; }
polyfer(':unscoped x-element p');
// => polyfill-unscoped-rule {...}
// since some preprocessors do not support /deep/ selectors
polyfer('body :deep a { outline: 1; }');
// => body /deep/ a { outline: 1; }
See examples comparing fixture.css(before) with expected.css(after).
$ npm install --global polyfer
$ polyfer input.css
$ polyfer input.css > output.css
$ polyfer --help
Keep in mind that all tasks run through Grunt.js.
git clone https://github.com/heldr/polyfer.git
cd polyfer
npm install
grunt watch
MIT © Helder Santana
FAQs
Post processor for Polymer CSS polyfills
We found that polyfer 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.
Product
Our redesigned Repositories page adds alert severity, filtering, and tabs for faster triage and clearer insights across all your projects.
Security News
Slopsquatting is a new supply chain threat where AI-assisted code generators recommend hallucinated packages that attackers register and weaponize.
Security News
Multiple deserialization flaws in PyTorch Lightning could allow remote code execution when loading untrusted model files, affecting versions up to 2.4.0.