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

@backstage/config-loader

Package Overview
Dependencies
Maintainers
4
Versions
875
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/config-loader - npm Package Compare versions

Comparing version 0.0.0-nightly-202192022219 to 0.0.0-nightly-202192122645

5

CHANGELOG.md
# @backstage/config-loader
## 0.0.0-nightly-202192022219
## 0.0.0-nightly-202192122645

@@ -8,2 +8,5 @@ ### Patch Changes

- 223e8de6b4: Configuration schema errors are now filtered using the provided visibility option. This means that schema errors due to missing backend configuration will no longer break frontend builds.
- 36e67d2f24: Internal updates to apply more strict checks to throw errors.
- Updated dependencies
- @backstage/errors@0.0.0-nightly-202192122645

@@ -10,0 +13,0 @@ ## 0.6.10

6

dist/index.cjs.js

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

var errors = require('@backstage/errors');
var yaml = require('yaml');

@@ -71,2 +72,3 @@ var path = require('path');

} catch (err) {
errors.assertError(err);
return [err, str];

@@ -102,2 +104,3 @@ }

} catch (error) {
errors.assertError(error);
throw new Error(`error at ${path}, ${error.message}`);

@@ -424,2 +427,3 @@ }

} catch (error) {
errors.assertError(error);
if (error.message !== "type Config not found") {

@@ -602,3 +606,3 @@ throw error;

} catch (error) {
throw new Error(`Failed to read static configuration file, ${error.message}`);
throw new errors.ForwardedError("Failed to read static configuration file", error);
}

@@ -605,0 +609,0 @@ const envConfigs = await readEnvConfig(process.env);

@@ -0,1 +1,2 @@

import { assertError, ForwardedError } from '@backstage/errors';
import yaml from 'yaml';

@@ -57,2 +58,3 @@ import { extname, resolve, dirname, sep, relative, isAbsolute, basename } from 'path';

} catch (err) {
assertError(err);
return [err, str];

@@ -88,2 +90,3 @@ }

} catch (error) {
assertError(error);
throw new Error(`error at ${path}, ${error.message}`);

@@ -410,2 +413,3 @@ }

} catch (error) {
assertError(error);
if (error.message !== "type Config not found") {

@@ -588,3 +592,3 @@ throw error;

} catch (error) {
throw new Error(`Failed to read static configuration file, ${error.message}`);
throw new ForwardedError("Failed to read static configuration file", error);
}

@@ -591,0 +595,0 @@ const envConfigs = await readEnvConfig(process.env);

{
"name": "@backstage/config-loader",
"description": "Config loading functionality used by Backstage backend, and CLI",
"version": "0.0.0-nightly-202192022219",
"version": "0.0.0-nightly-202192122645",
"private": false,

@@ -35,2 +35,3 @@ "publishConfig": {

"@backstage/config": "^0.1.9",
"@backstage/errors": "^0.0.0-nightly-202192122645",
"@types/json-schema": "^7.0.6",

@@ -37,0 +38,0 @@ "ajv": "^7.0.3",

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