New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@goldstack/utils-config

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goldstack/utils-config - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

12

dist/utilsConfig.js

@@ -9,3 +9,3 @@ "use strict";

const utils_sh_1 = require("@goldstack/utils-sh");
exports.validateConfig = (config, schema, options) => {
const validateConfig = (config, schema, options) => {
const ajv = new ajv_1.default();

@@ -34,13 +34,17 @@ if (options === null || options === void 0 ? void 0 : options.additionalSchemas) {

};
exports.parseConfig = (data, schema, options) => {
exports.validateConfig = validateConfig;
const parseConfig = (data, schema, options) => {
const config = JSON.parse(data);
return exports.validateConfig(config, schema, options);
};
exports.getPackageConfigPaths = (workspacePath) => {
exports.parseConfig = parseConfig;
const getPackageConfigPaths = (workspacePath) => {
const res = utils_sh_1.sh.ls('-A', workspacePath + 'packages/*/goldstack.json');
return Array.from(res.values());
};
exports.getAwsConfigPath = (workspacePath) => {
exports.getPackageConfigPaths = getPackageConfigPaths;
const getAwsConfigPath = (workspacePath) => {
return workspacePath + 'config/infra/aws/config.json';
};
exports.getAwsConfigPath = getAwsConfigPath;
//# sourceMappingURL=utilsConfig.js.map
{
"name": "@goldstack/utils-config",
"version": "0.3.5",
"version": "0.3.6",
"description": "Utilities to work with JSON configuration files.",

@@ -39,4 +39,4 @@ "keywords": [

"dependencies": {
"@goldstack/utils-log": "0.2.2",
"@goldstack/utils-sh": "0.4.5",
"@goldstack/utils-log": "0.2.3",
"@goldstack/utils-sh": "0.4.6",
"ajv": "^6.12.2",

@@ -46,9 +46,9 @@ "handlebars": "^4.7.6"

"devDependencies": {
"@goldstack/utils-git": "0.1.23",
"@types/jest": "^25.2.3",
"@goldstack/utils-git": "0.1.24",
"@types/jest": "^26.0.21",
"@types/node": "^14.0.6",
"jest": "^26.0.1",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
"jest": "^26.6.3",
"ts-jest": "^26.5.4",
"typescript": "^4.1.3"
}
}

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