Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
vtex-tachyons
Advanced tools
This project is an extension of tachyons.
Files in src/
add or redefine classes in tachyons
, and the final built files bundle the original tachyons
.
Install
npm i vtex-tachyons --save
You can find the built CSS file in vtex-tachyons/css/vtex-tachyons.min.css
.
Link in your application:
<link rel="stylesheet" href="vtex-tachyons.min.css">
<link rel="stylesheet" href="theme.min.css">
or
//React Webpack import
import 'vtex-tachyons'
import 'theme'
IMPORTANT!: You should not import tachyons
in your project. It is already built as part of vtex-tachyons
.
Clone the repo from github and install dependencies through npm.
git clone https://github.com/vtex/vtex-tachyons
cd vtex-tachyons
npm install
If you want to just use everything in tachyons/src as a jumping off point and edit all the code yourself, you can compile all of your wonderful changes by running
npm start
This will output both minified and unminified versions of the css to the css directory and watch the src directory for changes. It's aliased to the command:
npm run build:watch
If you'd like to just build the css once without watching the src directory run
npm run build
If you want to check that a class hasn't been redefined or 'mutated' there is a linter to check that all of the classes have only been defined once. This can be useful if you are using another library or have written some of your own css and want to make sure there are no naming collisions. To do this run the command
npm run mutations
FAQs
A custom Tachyons for VTEX
The npm package vtex-tachyons receives a total of 7,011 weekly downloads. As such, vtex-tachyons popularity was classified as popular.
We found that vtex-tachyons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 76 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.