
Company News
Socket Partners with Replit to Block Malicious Packages in AI-Powered Development
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.
@beyond-js/widgets-bundle
Advanced tools
The BeyondJS Widgets Bundle allows developers to create and manage UI components like pages and layouts using a widget system. Widgets are self-contained, reusable components that can be rendered in various parts of the application, providing a flexible and modular approach to building user interfaces.
module.json file.Widgets in BeyondJS are configured in the module.json file and processed to create reusable UI components. The widgets
can be registered, customized, and used throughout the application. The bundle handles the processing and registration
of these widgets, ensuring they are ready for use in the application.
To configure a widget bundle, you need to define it in your module's module.json file. Below is an example
configuration:
{
"name": "my-widget-bundle",
"platforms": ["web"],
"widget": {
"element": {
"name": "my-widget",
"attrs": ["attr1", "attr2"]
},
"is": "page",
"route": "/my-route",
"render": {
"csr": true,
"ssr": false
}
}
}
name: The name of the bundle.platforms: Specifies the platforms the bundle supports.widget: Contains configuration details specific to the widget.
element: Defines the element name and attributes for the widget.
name: The name of the custom element.attrs: An array of attributes that the element can accept.is: Specifies the type of widget, such as layout or page.route: Defines the route for page widgets.render: Specifies rendering options.
csr: Client-side rendering (default is true).ssr: Server-side rendering (default is false).Layout widgets define the overall structure of the application. They are used to create reusable layouts that can be applied to different parts of the application.
Example configuration for a layout widget:
{
"name": "my-layout-bundle",
"type": "widget",
"platforms": ["web"],
"widget": {
"element": {
"name": "my-layout",
"attrs": ["attr1", "attr2"]
},
"is": "layout"
}
}
Page widgets represent specific views or pages within the application. They can define their own routes and be rendered independently.
Example configuration for a page widget:
{
"name": "my-page-bundle",
"type": "widget",
"platforms": ["web"],
"widget": {
"is": "page",
"route": "/my-page"
"element": {
"name": "my-page",
"attrs": ["attr1", "attr2"]
}
}
}
module.json file for better
readability and ease of maintenance.FAQs
Texts bundle and processor for BeyondJS
We found that @beyond-js/widgets-bundle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.