
Research
lightning PyPI Package Compromised in Supply Chain Attack
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.
@taskr/postcss
Advanced tools
$ npm install --save-dev @taskr/postcss
Check out PostCSS's Options documentation to see the available options.
Note: There should be no need to set
options.toandoptions.from.
If you would like to autoload external PostCSS config, you must not define any options directly.
Declare your PostCSS options directly within your
taskfile.js:
exports.styles = function * (task) {
yield task.source('src/**/*.scss').postcss({
plugins: [
require('precss'),
require('autoprefixer')({
browsers: ['last 2 versions']
})
],
options: {
parser: require('postcss-scss')
}
}).target('dist/css');
}
Automatically detect & connect to existing PostCSS configurations
If no options were defined, @taskr/postcss will look for existing .postcssrc, postcss.config.js, and .postcssrc.js root-directory files. Similarly, it will honor a "postcss" key within your package.json file.
.postcssrc -- must be JSON; see example.postcssrc.js -- can be JSON or module.exports a Function or Object; see examplepostcss.config.js -- can be JSON or module.exports a Function or Object; see examplepackage.json -- must use "postcss" key & must be JSON; see exampleImportant: If you take this route, you only need one of the files mentioned!
// taskfile.js
exports.styles = function * (task) {
yield task.source('src/**/*.scss').postcss().target('dist/css');
}
// .postcssrc
{
"plugins": {
"precss": {},
"autoprefixer": {
"browsers": ["last 2 versions"]
}
},
"options": {
"parser": "postcss-scss"
}
}
Any issues or questions can be sent to the Taskr monorepo.
Please be sure to specify that you are using @taskr/postcss.
MIT © Luke Edwards
FAQs
PostCSS plugin for Taskr
The npm package @taskr/postcss receives a total of 111 weekly downloads. As such, @taskr/postcss popularity was classified as not popular.
We found that @taskr/postcss 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
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.