Socket
Socket
Sign inDemoInstall

@elastic/ecs-helpers

Package Overview
Dependencies
Maintainers
62
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elastic/ecs-helpers - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

3

CHANGELOG.md
# Changelog
## v0.2.0
- Export ECS version - [#12](https://github.com/elastic/ecs-logging-js/pull/12)
## v0.1.0
Initial release.

@@ -11,4 +11,5 @@ // Licensed to Elasticsearch B.V under one or more agreements.

module.exports = {
version: '1.5.0',
stringify,
...httpFormatters
}

3

package.json
{
"name": "@elastic/ecs-helpers",
"version": "0.1.0",
"version": "0.2.0",
"description": "ECS loggers helpers",

@@ -28,2 +28,3 @@ "main": "index.js",

"ava": "^3.1.0",
"semver": "^7.1.3",
"simple-get": "^3.1.0",

@@ -30,0 +31,0 @@ "standard": "^14.3.1",

@@ -17,2 +17,5 @@ <img align="right" width="auto" height="auto" src="https://www.elastic.co/static-res/images/elastic-logo-200.png">

### `version`
The currently supported version of [Elastic Common Schema](https://www.elastic.co/guide/en/ecs/current/index.html),
### `stringify`

@@ -19,0 +22,0 @@ Function that serializes (very quickly!) an ECS object.

@@ -12,3 +12,5 @@ // Licensed to Elasticsearch B.V under one or more agreements.

const stoppable = require('stoppable')
const semver = require('semver')
const {
version,
stringify,

@@ -134,1 +136,5 @@ formatHttpRequest,

})
test('Should export a valid version', t => {
t.truthy(semver.valid(version))
})
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc