Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@podium/layout

Package Overview
Dependencies
Maintainers
4
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/layout - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

21

CHANGELOG.md

@@ -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

33

lib/layout.js

@@ -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",

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