
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
@easypost/easy-ui-tokens
Advanced tools
[Design tokens](https://github.com/EasyPost/easy-ui/blob/main/documentation/decisions/004_design_tokens.md) for [Easy UI](https://github.com/EasyPost/easy-ui), EasyPost's design system.
Design tokens for Easy UI, EasyPost's design system.
Easy UI Tokens uses Style Dictionary as its organizational paradigm and build tool. It transpiles JSON configuration values to platform-specific variables.
import tokens from "@easypost/easy-ui-tokens/js/tokens.js";
console.log(tokens["color-blue-100"]);
import '@easypost/easy-ui-tokens/css/variables.css';
div {
background: var(--ezui-color-blue-100);
}
CSS variables are prefixed with --ezui
to signal that these variables are Easy UI variables.
@import "@easypost/easy-ui-tokens/scss/variables.scss";
div {
background: $ezui-color-blue-100;
}
// Map:
@import "@easypost/easy-ui-tokens/scss/map.scss";
div {
background: map-get($ezui-tokens, "color-blue-100");
}
SCSS variables are prefixed with $ezui
to signal that these variables are Easy UI variables.
const tokens = require("@easypost/easy-ui-tokens/json/tokens.json");
console.log(tokens["color-blue-100"]);
Command | Runs |
---|---|
npm run build | Builds Easy UI design tokens |
npm run clean | Removes temp directories |
npm run dev | Builds Easy UI design tokens on file changes |
FAQs
[Design tokens](https://github.com/EasyPost/easy-ui/blob/main/documentation/decisions/004_design_tokens.md) for [Easy UI](https://github.com/EasyPost/easy-ui), EasyPost's design system.
We found that @easypost/easy-ui-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.