Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@lokalise/events-common
Advanced tools
This library abstracts common models for working with queues and topics.
This library abstracts common models for working with queues and topics.
Install all dependencies:
npm install
Run all tests:
npm run test
Use base event schema with you defined event payload. Example:
export type IMPORT_CONTENT_PAYLOAD_SCHEMA = z.object({
youField: z.string(),
})
export const IMPORT_CONTENT_SCHEMA = z.intersection(
BASE_EVENT_SCHEMA,
z.object({
payload: IMPORT_CONTENT_PAYLOAD_SCHEMA,
}),
)
In this example BASE_EVENT_SCHEMA
payload will be overridden by IMPORT_CONTENT_PAYLOAD_SCHEMA
FAQs
This library abstracts common models for working with queues and topics.
The npm package @lokalise/events-common receives a total of 1,624 weekly downloads. As such, @lokalise/events-common popularity was classified as popular.
We found that @lokalise/events-common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.