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

@podium/context

Package Overview
Dependencies
Maintainers
4
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/context - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

12

CHANGELOG.md

@@ -9,2 +9,10 @@ # Changelog

## [3.0.1] - 2019-03-05
- Add error event listeners on all metric streams - [#10](https://github.com/podium-lib/context/pull/10)
## [3.0.0] - 2019-02-20
- Initial open source release. Module is made http framework free and open source - [#6](https://github.com/podium-lib/context/pull/6)
## [2.2.3] - 2018-12-18

@@ -35,3 +43,5 @@

[unreleased]: https://github.com/podium-lib/context/compare/v2.2.3...HEAD
[unreleased]: https://github.com/podium-lib/context/compare/v3.0.1...HEAD
[3.0.1]: https://github.com/podium-lib/context/compare/v3.0.0...v3.0.1
[3.0.0]: https://github.com/podium-lib/context/compare/v2.2.3...v3.0.0
[2.2.3]: https://github.com/podium-lib/context/compare/v2.2.2...v2.2.3

@@ -38,0 +48,0 @@ [2.2.2]: https://github.com/podium-lib/context/compare/v2.2.1...v2.2.2

@@ -6,2 +6,3 @@ 'use strict';

const Metrics = require('@metrics/client');
const abslog = require('abslog');
const assert = require('assert');

@@ -23,2 +24,3 @@ const utils = require('@podium/utils');

name = undefined,
logger = undefined,
publicPathname = {},

@@ -37,2 +39,6 @@ mountPathname = {},

Object.defineProperty(this, 'log', {
value: abslog(logger),
});
Object.defineProperty(this, 'parsers', {

@@ -46,2 +52,6 @@ value: new Map(),

this.metrics.on('error', error => {
this.log.error('Error emitted by metric stream in @podium/context module', error);
});
this.register('publicPathname', new PublicPathname(publicPathname));

@@ -48,0 +58,0 @@ this.register('mountPathname', new MountPathname(mountPathname));

3

package.json
{
"name": "@podium/context",
"version": "3.0.0",
"version": "3.0.1",
"description": "Module to generate the context which is passed on requests from a Podium Layout server to a Podium Podlet server",

@@ -36,2 +36,3 @@ "license": "MIT",

"@podium/utils": "3.1.1",
"abslog": "^2.4.0",
"bcp47-validate": "^1.0.0",

@@ -38,0 +39,0 @@ "bowser": "^2.1.0",

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