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
864
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.6.3 to 0.6.4

6

CHANGELOG.md
# @backstage/config-loader
## 0.6.4
### Patch Changes
- f00493739: Removed workaround for breaking change in typescript 4.3 and bump `typescript-json-schema` instead. This should again allow the usage of `@items.visibility <value>` to set the visibility of array items.
## 0.6.3

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

12

dist/index.cjs.js

@@ -392,14 +392,2 @@ 'use strict';

}, [path$1.split(path.sep).join("/")]);
value = JSON.parse(JSON.stringify(value), (key, prop) => {
var _a;
if (key === "visibility" && Array.isArray(prop)) {
const text = (_a = prop[0]) == null ? void 0 : _a.text;
if (!text) {
const propStr = JSON.stringify(prop);
throw new Error(`Failed conversion of visibility schema, got ${propStr}`);
}
return text;
}
return prop;
});
} catch (error) {

@@ -406,0 +394,0 @@ if (error.message !== "type Config not found") {

@@ -381,14 +381,2 @@ import yaml from 'yaml';

}, [path.split(sep).join("/")]);
value = JSON.parse(JSON.stringify(value), (key, prop) => {
var _a;
if (key === "visibility" && Array.isArray(prop)) {
const text = (_a = prop[0]) == null ? void 0 : _a.text;
if (!text) {
const propStr = JSON.stringify(prop);
throw new Error(`Failed conversion of visibility schema, got ${propStr}`);
}
return text;
}
return prop;
});
} catch (error) {

@@ -395,0 +383,0 @@ if (error.message !== "type Config not found") {

6

package.json
{
"name": "@backstage/config-loader",
"description": "Config loading functionality used by Backstage backend, and CLI",
"version": "0.6.3",
"version": "0.6.4",
"private": false,

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

"json-schema-merge-allof": "^0.8.1",
"typescript-json-schema": "^0.49.0",
"typescript-json-schema": "^0.50.1",
"yaml": "^1.9.2",

@@ -56,4 +56,4 @@ "yup": "^0.29.3"

],
"gitHead": "cc1de02d8944e304df7a6a23c8671030f9156ab8",
"gitHead": "daf29617d8c7cc7440e5d576265d7aaa98bd870f",
"module": "dist/index.esm.js"
}

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