drapcode-utility 2.5.8 → 2.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/utils/util.js +0 -2
- package/package.json +3 -3
package/build/utils/util.js
CHANGED
|
@@ -596,7 +596,6 @@ const processDerivedFieldInclude = (derivedFieldsInclude) => {
|
|
|
596
596
|
return derivedFields;
|
|
597
597
|
};
|
|
598
598
|
const replaceValueFromSource = (variableName, environment, tenant) => {
|
|
599
|
-
console.log("🚀 ~ replaceValueFromSource ~ variableName:", variableName, "~ environment:", environment);
|
|
600
599
|
if (variableName && typeof variableName === "string") {
|
|
601
600
|
if (variableName.startsWith(ENVIRONMENT_FIX_KEY)) {
|
|
602
601
|
return replaceValueFromEnvironment(variableName, environment);
|
|
@@ -620,7 +619,6 @@ const replaceValueFromEnvironment = (variableName, environment) => {
|
|
|
620
619
|
environment &&
|
|
621
620
|
environment.constants) {
|
|
622
621
|
const envConstant = environment.constants.find((env) => env.name === variableName.replace(ENVIRONMENT_FIX_KEY, ""));
|
|
623
|
-
console.log("🚀 ~ replaceValueFromEnvironment ~ envConstant:", envConstant);
|
|
624
622
|
return envConstant.value;
|
|
625
623
|
}
|
|
626
624
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "drapcode-utility",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.9",
|
|
4
4
|
"description": "DrapCode Utility",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"axios": "^1.1.2",
|
|
43
43
|
"date-fns": "^4.1.0",
|
|
44
44
|
"dompurify": "^3.1.7",
|
|
45
|
-
"drapcode-constant": "^2.0.
|
|
45
|
+
"drapcode-constant": "^2.0.6",
|
|
46
46
|
"drapcode-logger": "^1.3.6",
|
|
47
|
-
"drapcode-redis": "^1.5.
|
|
47
|
+
"drapcode-redis": "^1.5.3",
|
|
48
48
|
"exiftool-vendored": "^28.2.1",
|
|
49
49
|
"express": "^4.17.1",
|
|
50
50
|
"gm": "^1.25.0",
|