playcademy 0.14.24 → 0.14.25
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/dist/index.js +3 -11
- package/dist/utils.js +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3675,7 +3675,6 @@ var TIMEBACK_ENV_VARS = [
|
|
|
3675
3675
|
"TIMEBACK_CALIPER_API_URL",
|
|
3676
3676
|
"SANDBOX_TIMEBACK_STUDENT_ID"
|
|
3677
3677
|
];
|
|
3678
|
-
var TIMEBACK_COURSE_PATTERN = "SANDBOX_TIMEBACK_COURSE_";
|
|
3679
3678
|
function maskSecret(value) {
|
|
3680
3679
|
if (value.length <= 8) {
|
|
3681
3680
|
return "***";
|
|
@@ -3691,9 +3690,6 @@ function getDisplayValue(key, value) {
|
|
|
3691
3690
|
function getSetEnvVars(keys) {
|
|
3692
3691
|
return keys.filter((key) => process.env[key]);
|
|
3693
3692
|
}
|
|
3694
|
-
function getSetEnvVarsByPattern(pattern) {
|
|
3695
|
-
return Object.keys(process.env).filter((key) => key.startsWith(pattern)).filter((key) => process.env[key]);
|
|
3696
|
-
}
|
|
3697
3693
|
function printDebugInfo() {
|
|
3698
3694
|
if (process.env.DEBUG !== "1") {
|
|
3699
3695
|
return;
|
|
@@ -3709,19 +3705,15 @@ function printDebugInfo() {
|
|
|
3709
3705
|
}
|
|
3710
3706
|
}
|
|
3711
3707
|
const setTimebackVars = getSetEnvVars(TIMEBACK_ENV_VARS);
|
|
3712
|
-
|
|
3713
|
-
if (setTimebackVars.length > 0 || courseKeys.length > 0) {
|
|
3708
|
+
if (setTimebackVars.length > 0) {
|
|
3714
3709
|
logger.newLine();
|
|
3715
3710
|
for (const key of setTimebackVars) {
|
|
3716
3711
|
const value = process.env[key];
|
|
3717
3712
|
logger.data(key, getDisplayValue(key, value), 1);
|
|
3718
3713
|
}
|
|
3719
|
-
for (const key of courseKeys.sort()) {
|
|
3720
|
-
logger.data(key, process.env[key], 1);
|
|
3721
|
-
}
|
|
3722
3714
|
}
|
|
3723
3715
|
logger.newLine();
|
|
3724
|
-
logger.bold("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501END DEBUG OUTPUT\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501");
|
|
3716
|
+
logger.bold("\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501END DEBUG OUTPUT\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501");
|
|
3725
3717
|
}
|
|
3726
3718
|
|
|
3727
3719
|
// src/lib/core/errors.ts
|
|
@@ -5585,7 +5577,7 @@ import { join as join12 } from "path";
|
|
|
5585
5577
|
// package.json
|
|
5586
5578
|
var package_default2 = {
|
|
5587
5579
|
name: "playcademy",
|
|
5588
|
-
version: "0.14.
|
|
5580
|
+
version: "0.14.24",
|
|
5589
5581
|
type: "module",
|
|
5590
5582
|
exports: {
|
|
5591
5583
|
".": {
|
package/dist/utils.js
CHANGED
package/dist/version.js
CHANGED