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

@app-config/settings

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@app-config/settings - npm Package Compare versions

Comparing version 2.7.1 to 2.7.2

12

dist/index.js

@@ -35,6 +35,6 @@ "use strict";

if (process.env.APP_CONFIG_SETTINGS_FOLDER) {
return path_1.resolve(process.env.APP_CONFIG_SETTINGS_FOLDER);
return (0, path_1.resolve)(process.env.APP_CONFIG_SETTINGS_FOLDER);
}
const oldConfigDir = path_1.join(os_1.homedir(), '.app-config');
const { config: configDir } = env_paths_1.default('app-config', { suffix: '' });
const oldConfigDir = (0, path_1.join)((0, os_1.homedir)(), '.app-config');
const { config: configDir } = (0, env_paths_1.default)('app-config', { suffix: '' });
if (fs.pathExistsSync(oldConfigDir)) {

@@ -48,3 +48,3 @@ logging_1.logger.warn(`Moving ${oldConfigDir} to ${configDir}`);

async function loadSettings() {
const path = path_1.join(settingsDirectory(), 'settings.yml');
const path = (0, path_1.join)(settingsDirectory(), 'settings.yml');
const source = new node_1.FileSource(path);

@@ -67,4 +67,4 @@ logging_1.logger.verbose(`Loading settings from ${path}`);

settings = Promise.resolve(newSettings);
const path = path_1.join(settingsDirectory(), 'settings.yml');
const stringified = core_1.stringify(newSettings, core_1.FileType.YAML);
const path = (0, path_1.join)(settingsDirectory(), 'settings.yml');
const stringified = (0, core_1.stringify)(newSettings, core_1.FileType.YAML);
logging_1.logger.verbose(`Saving settings to ${path}`);

@@ -71,0 +71,0 @@ await fs.outputFile(path, stringified);

{
"name": "@app-config/settings",
"description": "User settings for @app-config",
"version": "2.7.1",
"version": "2.7.2",
"license": "MPL-2.0",

@@ -33,6 +33,6 @@ "author": {

"dependencies": {
"@app-config/core": "^2.7.1",
"@app-config/logging": "^2.7.1",
"@app-config/node": "^2.7.1",
"@app-config/utils": "^2.7.1",
"@app-config/core": "^2.7.2",
"@app-config/logging": "^2.7.2",
"@app-config/node": "^2.7.2",
"@app-config/utils": "^2.7.2",
"env-paths": "2",

@@ -42,3 +42,3 @@ "fs-extra": "7"

"devDependencies": {
"@app-config/test-utils": "^2.7.1"
"@app-config/test-utils": "^2.7.2"
},

@@ -45,0 +45,0 @@ "prettier": "@lcdev/prettier",

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