
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
@refinitiv-ui/theme-compiler
Advanced tools
Theme compiler for Element Framework Themes.
npm install -D @refinitiv-ui/theme-compiler
The theme compiler needs to be a dependency of each theme.
In the package.json of each theme, add a new build script which calls the compiler.
You can create npm script and use theme-compiler command to build EF theme.
"scripts": {
"build": "theme-compiler [output directory] [additional less variables]"
}
Example:
"scripts": {
"build": "theme-compiler dark --variant=dark"
}
To watch for changes while you are developing a theme, you can include the watch library.
npm i --save-dev watch
Modify you npm scripts to watch for file changes and recompile the theme.
Example:
"scripts": {
"build": "theme-compiler dark --variant=dark",
"watch": "watch 'npm run build' src"
}
Then you can run npm run watch.
Theme Compiler uses the Browserslist to Autoprefixing CSS, you can create .browserslistrc in your project to specify the target browsers. See Browserlist for more information.
FAQs
Compiles Element Framework themes into usable JavaScript
The npm package @refinitiv-ui/theme-compiler receives a total of 21 weekly downloads. As such, @refinitiv-ui/theme-compiler popularity was classified as not popular.
We found that @refinitiv-ui/theme-compiler demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.