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

@backstage/config

Package Overview
Dependencies
Maintainers
4
Versions
327
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/config - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

6

CHANGELOG.md
# @backstage/config
## 0.1.7
### Patch Changes
- 90f25476a: Extended the `Config` interface to have an optional `subscribe` method that can be used be notified of updates to the configuration.
## 0.1.6

@@ -4,0 +10,0 @@

@@ -14,2 +14,12 @@ declare type JsonPrimitive = number | string | boolean | null;

declare type Config = {
/**
* Subscribes to the configuration object in order to receive a notification
* whenever any value within the configuration has changed.
*
* This method is optional to implement, and consumers need to check if it is
* implemented before invoking it.
*/
subscribe?(onChange: () => void): {
unsubscribe: () => void;
};
has(key: string): boolean;

@@ -16,0 +26,0 @@ keys(): string[];

4

package.json
{
"name": "@backstage/config",
"description": "Config API used by Backstage core, backend, and CLI",
"version": "0.1.6",
"version": "0.1.7",
"private": false,

@@ -42,4 +42,4 @@ "publishConfig": {

],
"gitHead": "0cbbc971f3894862bf5a248603b5b997f8052da1",
"gitHead": "2f291dfd04f87a6ff4d6000204d0af7067bcda10",
"module": "dist/index.esm.js"
}
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