Socket
Socket
Sign inDemoInstall

@ms-cloudpack/config

Package Overview
Dependencies
Maintainers
0
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/config - npm Package Compare versions

Comparing version 0.27.1 to 0.27.2

lib/getCachePath.d.ts

9

lib/constants.d.ts

@@ -0,3 +1,12 @@

import type { UserPreferences } from '@ms-cloudpack/common-types';
export declare const appConfigFileName = "cloudpack.config.json";
export declare const generatedConfigFileName = "cloudpack.generated.json";
export declare const userPreferencesFileName = ".cloudpack.preferences.json";
/**
* Object with all valid keys of the UserPreferences object.
*
* (This is a mapping from key to true because TS doesn't have a good way to verify that an array
* contains all keys of a type.)
*/
export declare const allUserPreferences: Readonly<Record<keyof UserPreferences, boolean>>;
//# sourceMappingURL=constants.d.ts.map
export const appConfigFileName = 'cloudpack.config.json';
export const generatedConfigFileName = 'cloudpack.generated.json';
export const userPreferencesFileName = '.cloudpack.preferences.json';
/**
* Object with all valid keys of the UserPreferences object.
*
* (This is a mapping from key to true because TS doesn't have a good way to verify that an array
* contains all keys of a type.)
*/
export const allUserPreferences = {
cachePath: true,
};
//# sourceMappingURL=constants.js.map
export { checkMatch } from './checkMatch.js';
export { configTemplate } from './configTemplate.js';
export { generatedConfigFileName, appConfigFileName } from './constants.js';
export { allUserPreferences } from './constants.js';
export { createPackageDefinitions } from './createPackageDefinitions.js';
export { getCachePath, getLocalCachePath } from './getCachePath.js';
export { getConfigPath } from './getConfigPath.js';
export { getUserPreferencesPath, setMockUserPreferencesDir } from './getUserPreferencesPath.js';
export { getPackageSettings } from './getPackageSettings.js';

@@ -11,5 +14,7 @@ export { getGeneratedPackageSettings } from './getGeneratedPackageSettings.js';

export { readAppConfig } from './readAppConfig.js';
export { readUserPreferences } from './readUserPreferences.js';
export { writeGeneratedConfig } from './writeGeneratedConfig.js';
export { writeAppConfig } from './writeAppConfig.js';
export { ensureGeneratedSettingsForPackage } from './ensureGeneratedSettingsForPackage.js';
export { updateUserPreference } from './updateUserPreference.js';
//# sourceMappingURL=index.d.ts.map
export { checkMatch } from './checkMatch.js';
export { configTemplate } from './configTemplate.js';
export { generatedConfigFileName, appConfigFileName } from './constants.js';
export { allUserPreferences } from './constants.js';
export { createPackageDefinitions } from './createPackageDefinitions.js';
export { getCachePath, getLocalCachePath } from './getCachePath.js';
export { getConfigPath } from './getConfigPath.js';
export { getUserPreferencesPath, setMockUserPreferencesDir } from './getUserPreferencesPath.js';
export { getPackageSettings } from './getPackageSettings.js';

@@ -11,5 +14,7 @@ export { getGeneratedPackageSettings } from './getGeneratedPackageSettings.js';

export { readAppConfig } from './readAppConfig.js';
export { readUserPreferences } from './readUserPreferences.js';
export { writeGeneratedConfig } from './writeGeneratedConfig.js';
export { writeAppConfig } from './writeAppConfig.js';
export { ensureGeneratedSettingsForPackage } from './ensureGeneratedSettingsForPackage.js';
export { updateUserPreference } from './updateUserPreference.js';
//# sourceMappingURL=index.js.map

2

lib/schemaUrls.d.ts

@@ -5,2 +5,4 @@ /** unpkg URL for the GeneratedConfig JSON schema */

export declare const appConfigSchemaUrl = "https://unpkg.com/@ms-cloudpack/common-types/schema/AppConfig.json";
/** unpkg URL for the UserPreferences JSON schema */
export declare const userPreferencesSchemaUrl = "https://unpkg.com/@ms-cloudpack/common-types/schema/UserPreferences.json";
//# sourceMappingURL=schemaUrls.d.ts.map

@@ -6,2 +6,4 @@ const schemaPrefix = 'https://unpkg.com/@ms-cloudpack/common-types/schema';

export const appConfigSchemaUrl = `${schemaPrefix}/AppConfig.json`;
/** unpkg URL for the UserPreferences JSON schema */
export const userPreferencesSchemaUrl = `${schemaPrefix}/UserPreferences.json`;
//# sourceMappingURL=schemaUrls.js.map

8

package.json
{
"name": "@ms-cloudpack/config",
"version": "0.27.1",
"version": "0.27.2",
"description": "Configuration handling for cloudpack.",

@@ -17,6 +17,6 @@ "license": "MIT",

"dependencies": {
"@ms-cloudpack/common-types": "^0.19.0",
"@ms-cloudpack/common-types": "^0.19.1",
"@ms-cloudpack/json-utilities": "^0.1.7",
"@ms-cloudpack/package-utilities": "^10.0.0",
"@ms-cloudpack/path-utilities": "^2.7.37",
"@ms-cloudpack/package-utilities": "^10.0.1",
"@ms-cloudpack/path-utilities": "^2.7.38",
"import-meta-resolve": "^4.0.0",

@@ -23,0 +23,0 @@ "semver": "^7.6.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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