
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
@optimajet/workflow-forms-viewer
Advanced tools
A lightweight React component for rendering and executing forms created with Workflow Engine. This library provides a complete solution for displaying forms, handling user input, validation, and form submission.
A lightweight React component for rendering and executing forms created with Workflow Engine. This library provides a complete solution for displaying forms, handling user input, validation, and form submission.
npm install @optimajet/workflow-forms-viewer
This package requires the following peer dependencies:
npm install react
import React from 'react'
import {Form, FormKey, FormsViewer} from '@optimajet/workflow-forms-viewer'
export function UserForm({apiUrl}: AppProps) {
const {id} = useParams()
const {selectedUser} = useAppState()
const showError = useShowError()
const getForm = useCallback(async (formKey: FormKey) => {
...
}, [apiUrl])
const getForms = useCallback(async () => {
...
}, [apiUrl, id, selectedUser])
const saveForm = useCallback(async (processId: string, formKey: FormKey, data: Record<string, unknown>) => {
...
}, [apiUrl, selectedUser])
const executeForm = useCallback(async (processId: string, formKey: FormKey, commandName: string, data: Record<string, unknown>) => {
...
}, [apiUrl, selectedUser])
return <FormsViewer getForm={getForm} getForms={getForms} onError={showError} onSuccess={showSuccess} saveForm={saveForm}
executeForm={executeForm}
/>
}
| Property | Type | Required | Description |
|---|---|---|---|
getForms | () => Form[] | Promise<Form[]> | Yes | Handler to retrieve list of available forms |
getForm | (formKey: FormKey) => string | Promise<string> | Yes | Handler to retrieve form definition by key |
saveForm | (processId: string, formKey: FormKey, data: Record<string, unknown>) => SaveFormResponse | Promise<SaveFormResponse> | Yes | Handler to save form data (draft) |
executeForm | (processId: string, form: FormKey, commandName: string, data: Record<string, unknown>) => ExecuteFormResponse | Promise<ExecuteFormResponse> | Yes | Handler to execute/submit form |
onError | (error: string | Error) => void | Yes | Error handler callback |
onSuccess | (message: string) => void | Yes | Success handler callback |
tabsRenderer | (props: TabsRendererProps) => React.ReactElement | No | Custom tabs renderer component |
formViewerProps | OmittedFormViewerProps | No | Additional props for FormViewer component |
For issues and questions:
MIT
Optimajet
FAQs
A lightweight React component for rendering and executing forms created with Workflow Engine. This library provides a complete solution for displaying forms, handling user input, validation, and form submission.
The npm package @optimajet/workflow-forms-viewer receives a total of 13 weekly downloads. As such, @optimajet/workflow-forms-viewer popularity was classified as not popular.
We found that @optimajet/workflow-forms-viewer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.