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
330
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.0.0-nightly-20218921925 to 0.0.0-nightly-202192322437

14

CHANGELOG.md
# @backstage/config
## 0.0.0-nightly-20218921925
## 0.0.0-nightly-202192322437
### Patch Changes
- 41c49884d2: Start using the new `@backstage/types` package. Initially, this means using the `Observable` and `Json*` types from there. The types also remain in their old places but deprecated, and will be removed in a future release.
## 0.1.10
### Patch Changes
- febddedcb2: Bump `lodash` to remediate `SNYK-JS-LODASH-590103` security vulnerability
## 0.1.9
### Patch Changes
- f88b2c7db: Documented `Config` interface and mark types as public.

@@ -8,0 +20,0 @@

30

dist/index.d.ts

@@ -0,1 +1,3 @@

import { JsonPrimitive as JsonPrimitive$1, JsonObject as JsonObject$1, JsonArray as JsonArray$1, JsonValue as JsonValue$1 } from '@backstage/types';
/**

@@ -5,4 +7,5 @@ * A type representing all allowed JSON primitive values.

* @public
* @deprecated Please use the same type from `@backstage/types` instead
*/
declare type JsonPrimitive = number | string | boolean | null;
declare type JsonPrimitive = JsonPrimitive$1;
/**

@@ -12,6 +15,5 @@ * A type representing all allowed JSON object values.

* @public
* @deprecated Please use the same type from `@backstage/types` instead
*/
declare type JsonObject = {
[key in string]?: JsonValue;
};
declare type JsonObject = JsonObject$1;
/**

@@ -21,5 +23,5 @@ * A type representing all allowed JSON array values.

* @public
* @deprecated Please use the same type from `@backstage/types` instead
*/
interface JsonArray extends Array<JsonValue> {
}
declare type JsonArray = JsonArray$1;
/**

@@ -29,4 +31,6 @@ * A type representing all allowed JSON values.

* @public
* @deprecated Please use the same type from `@backstage/types` instead
*/
declare type JsonValue = JsonObject | JsonArray | JsonPrimitive;
declare type JsonValue = JsonValue$1;
/**

@@ -45,3 +49,3 @@ * A serialized form of configuration data that carries additional context.

*/
data: JsonObject;
data: JsonObject$1;
/**

@@ -81,3 +85,3 @@ * A list of keys that where filtered out from the configuration when it was loaded.

*/
get<T = JsonValue>(key?: string): T;
get<T = JsonValue$1>(key?: string): T;
/**

@@ -91,3 +95,3 @@ * Read out all configuration data for the given key.

*/
getOptional<T = JsonValue>(key?: string): T | undefined;
getOptional<T = JsonValue$1>(key?: string): T | undefined;
/**

@@ -166,7 +170,7 @@ * Same as `getOptionalConfig`, but will throw an error if there's no value for the given key.

static fromConfigs(configs: AppConfig[]): ConfigReader;
constructor(data: JsonObject | undefined, context?: string, fallback?: ConfigReader | undefined, prefix?: string);
constructor(data: JsonObject$1 | undefined, context?: string, fallback?: ConfigReader | undefined, prefix?: string);
has(key: string): boolean;
keys(): string[];
get<T = JsonValue>(key?: string): T;
getOptional<T = JsonValue>(key?: string): T | undefined;
get<T = JsonValue$1>(key?: string): T;
getOptional<T = JsonValue$1>(key?: string): T | undefined;
getConfig(key: string): ConfigReader;

@@ -173,0 +177,0 @@ getOptionalConfig(key: string): ConfigReader | undefined;

{
"name": "@backstage/config",
"description": "Config API used by Backstage core, backend, and CLI",
"version": "0.0.0-nightly-20218921925",
"version": "0.0.0-nightly-202192322437",
"private": false,

@@ -33,5 +33,7 @@ "publishConfig": {

"dependencies": {
"lodash": "^4.17.15"
"@backstage/types": "^0.1.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@backstage/test-utils-core": "^0.1.2",
"@types/jest": "^26.0.7",

@@ -38,0 +40,0 @@ "@types/node": "^14.14.32"

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