
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
gulp-css-selector-limit
Advanced tools
Gulp plugin that determines whether CSS files contain more selectors than IE's limit of 4095
Gulp plugin for detecting if any CSS file in a set has more selectors than IE's limit of 4095. Wraps the css-selector-limit module.
This plugin requires Gulp 3.9.x
If you haven't used Gulp before, be sure to check out the Getting Started guide, as it explains how to create a gulpfile as well as how to install and use Gulp plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install gulp-css-selector-limit --save-dev
In your project's gulpfile you can add the css-selector-limit task like so.
var gulp = require('gulp'),
cssSelectorLimit = require('gulp-css-selector-limit');
gulp.task('css-selector-limit', function(){
return gulp.src('style/**/*.css')
.pipe(cssSelectorLimit())
.pipe(cssSelectorLimit.reporter('default'))
.pipe(cssSelectorLimit.reporter('fail'));
});
If you want the task to fail if a file is found that contains selectors that are over the limit then include the fail reporter as shown above.
All options are the same as those defined in the css-selector-limit module.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.
FAQs
Gulp plugin that determines whether CSS files contain more selectors than IE's limit of 4095
The npm package gulp-css-selector-limit receives a total of 0 weekly downloads. As such, gulp-css-selector-limit popularity was classified as not popular.
We found that gulp-css-selector-limit 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.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.