@podium/layout
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -9,2 +9,13 @@ # Changelog | ||
## [3.0.1] - 2019-03-05 | ||
- Add error event listeners on all metric streams - [#15](https://github.com/podium-lib/layout/pull/15) | ||
- Update @podium/client to version 3.0.2 - [#14](https://github.com/podium-lib/layout/pull/14) | ||
- Update @podium/context to version 3.0.1 - [#13](https://github.com/podium-lib/layout/pull/13) | ||
- Update @podium/proxy to version 3.0.1 - [#12](https://github.com/podium-lib/layout/pull/12) | ||
## [3.0.0] - 2019-02-21 | ||
- Initial open source release. Module is made http framework free and open source - [#6](https://github.com/podium-lib/layout/pull/6) | ||
## [2.5.0] - 2019-01-03 | ||
@@ -24,7 +35,9 @@ | ||
- update @podium/client to version 2.2.2 | ||
- update joi to version 14.3.0 | ||
- update abslog to version 2.2.3 | ||
- Update @podium/client to version 2.2.2 | ||
- Update joi to version 14.3.0 | ||
- Update abslog to version 2.2.3 | ||
[unreleased]: https://github.com/podium-lib/layout/compare/v2.5.0...HEAD | ||
[unreleased]: https://github.com/podium-lib/layout/compare/v3.0.1...HEAD | ||
[3.0.1]: https://github.com/podium-lib/layout/compare/v3.0.0...v3.0.1 | ||
[3.0.0]: https://github.com/podium-lib/layout/compare/v2.4.5...v3.0.0 | ||
[2.5.0]: https://github.com/podium-lib/layout/compare/v2.4.5...v2.5.0 | ||
@@ -31,0 +44,0 @@ [2.4.5]: https://github.com/podium-lib/layout/compare/v2.4.4...v2.4.5 |
@@ -103,26 +103,17 @@ /* eslint-disable no-underscore-dangle */ | ||
this.metrics.on('error', error => { | ||
this.log.error('Error emitted by metric stream in @podium/layout module', error); | ||
}); | ||
const decorate = utils.decorateLayoutName(this.name); | ||
this.client.metrics | ||
.pipe(decorate) | ||
.on('error', err => { | ||
/* istanbul ignore next */ | ||
this.log.error(err); | ||
}) | ||
.pipe(this.metrics) | ||
.on('error', err => { | ||
/* istanbul ignore next */ | ||
this.log.error(err); | ||
}); | ||
decorate.on('error', error => { | ||
this.log.error('Error emitted when decorating metric stream in @podium/layout module', error); | ||
}); | ||
this.httpProxy.metrics | ||
.pipe(decorate) | ||
.on('error', err => { | ||
/* istanbul ignore next */ | ||
this.log.error(err); | ||
}) | ||
.on('error', err => { | ||
/* istanbul ignore next */ | ||
this.log.error(err); | ||
}); | ||
// Join metric streams | ||
this.httpProxy.metrics.pipe(decorate); | ||
this.context.metrics.pipe(decorate); | ||
this.client.metrics.pipe(decorate); | ||
decorate.pipe(this.metrics); | ||
@@ -129,0 +120,0 @@ this.client.registry.pipe(this.httpProxy.registry); |
{ | ||
"name": "@podium/layout", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Module for composing full page layouts out of page fragments in a micro frontend architecture.", | ||
@@ -35,5 +35,5 @@ "main": "lib/layout.js", | ||
"@metrics/client": "2.3.1", | ||
"@podium/client": "3.0.1", | ||
"@podium/context": "3.0.0", | ||
"@podium/proxy": "3.0.0", | ||
"@podium/client": "3.0.2", | ||
"@podium/context": "3.0.1", | ||
"@podium/proxy": "3.0.1", | ||
"@podium/schemas": "3.0.0", | ||
@@ -40,0 +40,0 @@ "@podium/utils": "3.1.1", |
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
21289
145
+ Added@podium/client@3.0.2(transitive)
+ Added@podium/context@3.0.1(transitive)
+ Added@podium/proxy@3.0.1(transitive)
- Removed@podium/client@3.0.1(transitive)
- Removed@podium/context@3.0.0(transitive)
- Removed@podium/proxy@3.0.0(transitive)
Updated@podium/client@3.0.2
Updated@podium/context@3.0.1
Updated@podium/proxy@3.0.1