
Security News
New React Server Components Vulnerabilities: DoS and Source Code Exposure
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.
@elastic/ecs
Advanced tools
Automatically generated TypeScript type definitions for the [Elastic Common Schema](https://www.elastic.co/guide/en/ecs/current/index.html).
Automatically generated TypeScript type definitions for the Elastic Common Schema.
When run, this program will fetch the ECS schema from the elastic/ecs repository. Defaults to main ref,
can be overridden with --ref flag.
yarn build: Runs tscyarn dev: Runs tsc and watches for changesyarn test: Runs unit tests with jestyarn generate-ecs-types: Generates a ts file in generated/ecs.ts@elastic/ecs only exports ecs-based type definitions and an EcsVersion constant.
@elatic/ecs/extended contains both type definitions and the EcsFlat object, that contains the entire schema parsed as object literal. This can be used for advanced validation scenarios.
FAQs
Automatically generated TypeScript type definitions for the [Elastic Common Schema](https://www.elastic.co/guide/en/ecs/current/index.html).
The npm package @elastic/ecs receives a total of 52,314 weekly downloads. As such, @elastic/ecs popularity was classified as popular.
We found that @elastic/ecs 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.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.