@elastic/ecs-helpers
Advanced tools
Comparing version 0.1.0 to 0.2.0
# 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 | ||
} |
{ | ||
"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)) | ||
}) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22816
318
86
6