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

@feature-hub/logger

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@feature-hub/logger - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.8.0](https://github.com/sinnerschrader/feature-hub/compare/v2.7.0...v2.8.0) (2020-10-26)
### Features
* **all:** pass featureAppName as consumerName to Feature Service binder ([#589](https://github.com/sinnerschrader/feature-hub/issues/589)) ([44b019f](https://github.com/sinnerschrader/feature-hub/commit/44b019f))
# [2.7.0](https://github.com/sinnerschrader/feature-hub/compare/v2.6.0...v2.7.0) (2020-06-11)

@@ -8,0 +19,0 @@

2

lib/cjs/index.d.ts

@@ -6,3 +6,3 @@ import { FeatureServiceBinder, FeatureServiceProviderDefinition, Logger, SharedFeatureService } from '@feature-hub/core';

}
export declare type ConsumerLoggerCreator = (consumerId: string) => Logger;
export declare type ConsumerLoggerCreator = (consumerId: string, consumerName?: string) => Logger;
export declare function defineLogger(createConsumerLogger?: ConsumerLoggerCreator): FeatureServiceProviderDefinition<SharedLogger>;

@@ -7,4 +7,4 @@ "use strict";

create: () => ({
'1.0.0': consumerId => ({
featureService: createConsumerLogger(consumerId)
'1.0.0': (consumerId, consumerName) => ({
featureService: createConsumerLogger(consumerId, consumerName)
})

@@ -11,0 +11,0 @@ })

@@ -6,3 +6,3 @@ import { FeatureServiceBinder, FeatureServiceProviderDefinition, Logger, SharedFeatureService } from '@feature-hub/core';

}
export declare type ConsumerLoggerCreator = (consumerId: string) => Logger;
export declare type ConsumerLoggerCreator = (consumerId: string, consumerName?: string) => Logger;
export declare function defineLogger(createConsumerLogger?: ConsumerLoggerCreator): FeatureServiceProviderDefinition<SharedLogger>;

@@ -5,4 +5,4 @@ export function defineLogger(createConsumerLogger = () => console) {

create: () => ({
'1.0.0': consumerId => ({
featureService: createConsumerLogger(consumerId)
'1.0.0': (consumerId, consumerName) => ({
featureService: createConsumerLogger(consumerId, consumerName)
})

@@ -9,0 +9,0 @@ })

{
"name": "@feature-hub/logger",
"version": "2.7.0",
"version": "2.8.0",
"description": "A Feature Service for providing a common logging integration to all Feature Hub consumers.",

@@ -24,3 +24,3 @@ "homepage": "https://feature-hub.io/",

"dependencies": {
"@feature-hub/core": "^2.7.0"
"@feature-hub/core": "^2.8.0"
},

@@ -30,3 +30,3 @@ "publishConfig": {

},
"gitHead": "bbfe0fb664d18c9f968b83abd107a0ae55678230"
"gitHead": "35a90b49fa87d2f4d5f4dc02b5f4a697b7b75f52"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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