Socket
Socket
Sign inDemoInstall

@ms-cloudpack/config

Package Overview
Dependencies
Maintainers
2
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.4 to 0.7.5

8

lib/config.d.ts

@@ -9,3 +9,3 @@ import type { GeneratedConfig } from './types/GeneratedConfig.js';

*/
export declare function getConfigPath(cwd?: string): {
export declare function getConfigPath(cwd: string): {
configPath: string;

@@ -19,3 +19,3 @@ overridesPath: string;

*/
export declare function readConfigSync(cwd?: string): CloudpackConfig;
export declare function readConfigSync(cwd: string): CloudpackConfig;
/**

@@ -26,3 +26,3 @@ * Reads the config file asynchronously

*/
export declare function readConfig(cwd?: string): Promise<CloudpackConfig>;
export declare function readConfig(cwd: string): Promise<CloudpackConfig>;
/**

@@ -33,3 +33,3 @@ * Writes generated config. This is used for `init` to provide package overrides needed.

*/
export declare function writeGeneratedConfig(config: GeneratedConfig, cwd?: string): Promise<void>;
export declare function writeGeneratedConfig(config: GeneratedConfig, cwd: string): Promise<void>;
//# sourceMappingURL=config.d.ts.map

@@ -10,6 +10,5 @@ import path from 'path';

export function getConfigPath(cwd) {
const basePath = cwd || process.cwd();
return {
configPath: path.join(basePath, configFileName),
overridesPath: path.join(basePath, generatedConfigFileName),
configPath: path.join(cwd, configFileName),
overridesPath: path.join(cwd, generatedConfigFileName),
};

@@ -16,0 +15,0 @@ }

{
"name": "@ms-cloudpack/config",
"version": "0.7.4",
"version": "0.7.5",
"description": "Configuration handling for cloudpack.",

@@ -5,0 +5,0 @@ "license": "MIT",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc