
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
@zohodesk/library-platform
Advanced tools
This library provides components for rendering Table List pages in compliance with the Zoho Desk Module Framework standards. It includes functionality for table handling.
This library provides components for rendering Table List pages in compliance with the Zoho Desk Module Framework standards. It includes functionality for table handling.
To install the library, use the following command:
npm install @zohodesk/library-platform
To create a Table Connected component, you can use the TableConnectedFactory
. Here is a simple example:
import TableConnectedFactory from '@zohodesk/library-platform/TableConnectedFactory';
const myTableComponent = TableConnectedFactory.create({
name: 'MyTableComponent',
dataSource: myDataSource,
eventHandlers: {
onRowSelect: row => {
console.log('Selected row:', row);
}
}
});
You can create custom components using the createCustomComponent
function. This function sets up the component with the necessary dependencies and lifecycle methods.
import createCustomComponent from '@zohodesk/library-platform/createCustomComponent';
const MyCustomComponent = createCustomComponent({
name: 'MyCustomComponent',
View: MyComponentView // Your component view
});
// Usage in application
<MyCustomComponent />;
The ComponentRegistry
class is a singleton that allows you to register and retrieve components by name. This can be useful for managing component instances throughout your application.
import ComponentRegistry from '@zohodesk/library-platform/ComponentRegistry';
// Register a component
ComponentRegistry.register('MyComponent', myComponentInstance);
// Retrieve a component
const myComponent = ComponentRegistry.get('MyComponent');
The TableConnectedFactory.create
method accepts the following parameters:
string
- The name of the component.object
- The data broker instance to manage data fetching and manipulation.object
- An object containing event handler functions.React.Component
- Custom view component to render the table.FAQs
This library provides components for rendering Table List pages in compliance with the Zoho Desk Module Framework standards. It includes functionality for table handling.
We found that @zohodesk/library-platform demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 47 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.