Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

quidproquo-core

Package Overview
Dependencies
Maintainers
1
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quidproquo-core - npm Package Compare versions

Comparing version 0.0.52 to 0.0.53

5

lib/config/settings/application.d.ts

@@ -5,5 +5,6 @@ import { QPQConfigSetting } from '../QPQConfig';

configRoot: string;
featureName?: string;
environment?: string;
deployRegion?: string;
feature?: string;
}
export declare const defineApplication: (appName: string, configRoot: string, featureName?: string, deployRegion?: string) => AppNameQPQConfigSetting;
export declare const defineApplication: (appName: string, environment: string, configRoot: string, deployRegion?: string, feature?: string) => AppNameQPQConfigSetting;

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

const QPQConfig_1 = require("../QPQConfig");
const defineApplication = (appName, configRoot, featureName, deployRegion) => ({
const defineApplication = (appName, environment, configRoot, deployRegion, feature) => ({
configSettingType: QPQConfig_1.QPQCoreConfigSettingType.appName,

@@ -11,5 +11,6 @@ uniqueKey: appName,

configRoot,
featureName,
environment,
deployRegion,
feature,
});
exports.defineApplication = defineApplication;

3

lib/qpqCoreUtils.d.ts

@@ -6,3 +6,4 @@ import { QPQConfig, QPQConfigSetting } from './config/QPQConfig';

export declare const getAppName: (configs: QPQConfig) => string;
export declare const getAppFeature: (configs: QPQConfig) => string;
export declare const getApplicationEnvironment: (configs: QPQConfig) => string;
export declare const getApplicationFeature: (configs: QPQConfig) => string | undefined;
export declare const getDeployRegion: (configs: QPQConfig) => string;

@@ -9,0 +10,0 @@ export declare const getConfigRoot: (configs: QPQConfig) => string;

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.getScheduleEntryFullPath = exports.getUniqueKeyForSetting = exports.getBuildPath = exports.getSharedSecrets = exports.getOwnedParameters = exports.getOwnedSecrets = exports.getAllSrcEntries = exports.getScheduleEvents = exports.getActionProcessorSources = exports.getStorageDriveNames = exports.getConfigRoot = exports.getDeployRegion = exports.getAppFeature = exports.getAppName = exports.getConfigSetting = exports.getConfigSettings = void 0;
exports.getScheduleEntryFullPath = exports.getUniqueKeyForSetting = exports.getBuildPath = exports.getSharedSecrets = exports.getOwnedParameters = exports.getOwnedSecrets = exports.getAllSrcEntries = exports.getScheduleEvents = exports.getActionProcessorSources = exports.getStorageDriveNames = exports.getConfigRoot = exports.getDeployRegion = exports.getApplicationFeature = exports.getApplicationEnvironment = exports.getAppName = exports.getConfigSetting = exports.getConfigSettings = void 0;
const path = __importStar(require("path"));

@@ -48,8 +48,14 @@ const QPQConfig_1 = require("./config/QPQConfig");

exports.getAppName = getAppName;
const getAppFeature = (configs) => {
const getApplicationEnvironment = (configs) => {
var _a;
const featureName = ((_a = (0, exports.getConfigSetting)(configs, QPQConfig_1.QPQCoreConfigSettingType.appName)) === null || _a === void 0 ? void 0 : _a.featureName) || 'production';
return featureName;
const environment = ((_a = (0, exports.getConfigSetting)(configs, QPQConfig_1.QPQCoreConfigSettingType.appName)) === null || _a === void 0 ? void 0 : _a.environment) || 'production';
return environment;
};
exports.getAppFeature = getAppFeature;
exports.getApplicationEnvironment = getApplicationEnvironment;
const getApplicationFeature = (configs) => {
var _a;
const feature = (_a = (0, exports.getConfigSetting)(configs, QPQConfig_1.QPQCoreConfigSettingType.appName)) === null || _a === void 0 ? void 0 : _a.feature;
return feature;
};
exports.getApplicationFeature = getApplicationFeature;
const getDeployRegion = (configs) => {

@@ -56,0 +62,0 @@ var _a;

{
"name": "quidproquo-core",
"version": "0.0.52",
"version": "0.0.53",
"description": "",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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