
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
postcss-travix
Advanced tools
PostCSS plugin for Travix
With npm:
$ npm install --save postcss postcss-travix
const postcss = require('postcss');
postcss([
require('postcss-travix')({ /* plugin options */ })
])
.process(YOUR_CSS, { /* process options */ })
.then(function (result) {
// console.log(result.css);
});
Options can be passed for individual processors:
postcss([
require('postcss-travix')({
autoprefixer: {
browsers: ['last 2 versions']
}
})
]);
You can also disable some plugins:
postcss([
require('postcss-travix')({
autoprefixer: {
disabled: true
}
})
]);
You can find the list of processors with their names and default options in processors.js
file.
Input:
.nested {
.selector {
.here {
padding: 0;
}
}
}
Output:
.nested .selector .here {
padding: 0;
}
Input:
:root {
--my-var: blue;
}
div {
border-color: var(--variable-defined-elsewhere);
background: var(--my-var);
}
Output:
div {
border-color: var(--variable-defined-elsewhere);
background: blue;
}
For additional reference, visit the plugin's documentation
We support compatibility with older versions of browsers, and the current list of browsers consists of:
last 2 versions
Explorer >= 10
Safari >= 5
The naming convention of the browsers follow Browserslist.
Input:
.myClass {
flex: 1;
}
Output:
.myClass {
-webkit-box-flex: 1;
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
MIT © Travix International
FAQs
PostCSS plugin for Travix
The npm package postcss-travix receives a total of 42 weekly downloads. As such, postcss-travix popularity was classified as not popular.
We found that postcss-travix demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.