
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
laxar-cube.theme
Advanced tools
A LaxarJS theme, for use by LaxarJS tools and demo applications.
Install the laxar-cube.theme and the required webpack SCSS support into your application using npm:
$ npm install --save laxar-cube.theme
$ npm install --save-dev node-sass sass-loader
Then, activate the theme in your application configuration (usually init.js):
// load themed artifacts:
import artifacts from 'laxar-loader/artifacts?flow=main&theme=cube';
// have the runtime select the theme:
const configuration = { theme: 'cube', /* ... */ };
create( [ /* adapters */ ], artifacts, configuration )
// if enabling tooling, you should also go for the theme:
.tooling( require( 'laxar-loader/debug-info?flow=main&theme=cube' ) )
// .flow( ... )
// .bootstrap( ... )
For webpack, this can be simplified by using the theme-provided options for the sass-loader:
module.exports = {
// ...
resolve: [
// ...
alias: {
// ...
'cube.theme': 'laxar-cube.theme'
}
],
module: {
rules: [
// ...,
{
test: /[/](laxar-)?cube[.]theme[/].*[.]s[ac]ss$/,
loader: 'sass-loader',
options: require( 'laxar-cube.theme/sass-options' )
}
]
}
};
The cube.theme is now used in the application.
To create theme-specific styles for layouts, widgets and controls, add a cube.theme folder right next an artifacts default.theme folder, and define CSS/HTML there.
FAQs
LaxarJS-flavoured variant of Boostrap 3
We found that laxar-cube.theme 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.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.