
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
ember-cli-postcss-fixed
Advanced tools
Use postcss to process your css with a large selection of JavaScript plug-ins.
This is a modification of https://www.npmjs.com/package/ember-cli-postcss
It adds functionality for multiple file processing and for preprocessing using node-sass.
Use postcss to process your css
with a large selection of JavaScript plug-ins.
npm install --save-dev ember-cli-postcss-fixed
There are two steps to setting up postcss with ember-cli-postcss
:
postcssOptions
object in the BrocfileThe postcssOptions
object should have a property plugins
, which is an array of objects that contain a module
property and an options
property:
postcssOptions: {
plugins: [
{
module: <module>,
options: {
...
}
}
]
}
Install the autoprefixer plugin:
npm i --save-dev autoprefixer
Specify some plugins in your ember-cli-build.js:
var EmberApp = require('ember-cli/lib/broccoli/ember-app');
var autoprefixer = require('autoprefixer');
var app = new EmberApp({
postcssOptions: {
plugins: [
{
module: autoprefixer,
options: {
browsers: ['last 2 version']
}
}
]
}
});
module.exports = app.toTree();
If you need to process multiple files, it can be done by configuring the output paths in your ember-cli-build.js:
var app = new EmberApp({
outputPaths: {
app: {
css: {
'app': '/assets/application-name.css',
'themes/alpha': '/assets/themes/alpha.css'
}
}
}
});
If you need to preprocess your files with node-sass you can enable it in your ember-cli-build.js:
var app = new EmberApp({
postcssOptions: {
plugins: [
{
module: autoprefixer,
options: {
browsers: ['last 2 version']
}
}
],
useSass: true
}
});
By default this ember-cli-postcss-fixed will process .css files. However you can specify the file extension like this:
var app = new EmberApp({
postcssOptions: {
plugins: [
{
module: autoprefixer,
options: {
browsers: ['last 2 version']
}
}
],
useSass: true,
extension: 'scss'
}
});
FAQs
Use postcss to process your css with a large selection of JavaScript plug-ins.
The npm package ember-cli-postcss-fixed receives a total of 4 weekly downloads. As such, ember-cli-postcss-fixed popularity was classified as not popular.
We found that ember-cli-postcss-fixed 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 malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.