Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
broccoli-colorguard
Advanced tools
Broccoli wrapped Colorguard - Keep a watchful eye on your css colors
As of the first iteration of this plugin, colorguard is run once per file, not as a sum total of all files. This is wrong, but it's a start. The best way to use this is after a concatenation step (or precompilation step that includes concatenation) in broccoli.
$ npm install --save broccoli-colorguard
var compileSass = require('broccoli-sass');
var colorguard = require('broccoli-colorguard');
// This doesn't have to be sass. It could be broccoli-concat, or broccoli-uglify
// or any other broccoli plugin that results in a single output file.
var cssTree = compileSass(inputTree, 'myapp/app.scss', 'assets/app.css', {
sassoptions: 'go here'
});
// Colorguard always returns exactly what you gave it. But it might throw errors before that
// happens. In this case, it gets the full built output from sass so it knows how to parse it.
cssTree = colorguard(cssTree, {
threshold: 3,
ignore: ['#555555'],
whitelist: [['#000000', '#010101']]
});
module.exports = cssTree;
Initialize a new colorguard with the given string of regular CSS. Optionally supply an object with options as the last argument.
These are blindly passed to colorguard. See options there.
Apache 2
Heavily cargo-culted from kevva/broccoli-rework
FAQs
Broccoli wrapped css-colorguard.
We found that broccoli-colorguard 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.