@nsshunt/stsvueutils 1.0.85 → 1.0.87
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/stsvueutils.mjs
CHANGED
|
@@ -203,7 +203,7 @@ function init(converter, defaultAttributes) {
|
|
|
203
203
|
);
|
|
204
204
|
}
|
|
205
205
|
var api = init(defaultConverter, { path: "/" });
|
|
206
|
-
const debug$
|
|
206
|
+
const debug$2 = debugModule(`proc:${process.pid}:storage.ts`);
|
|
207
207
|
let PREFIX = "_ststra_";
|
|
208
208
|
var ClientStorageType = /* @__PURE__ */ ((ClientStorageType2) => {
|
|
209
209
|
ClientStorageType2["LOCAL_STORAGE"] = "LocalStorage";
|
|
@@ -235,7 +235,7 @@ class CookieStorage {
|
|
|
235
235
|
} else {
|
|
236
236
|
cookieAttributes.expires = 1;
|
|
237
237
|
}
|
|
238
|
-
debug$
|
|
238
|
+
debug$2(`CookieStorage.set: key: ${key}, value: [${value}]`);
|
|
239
239
|
api.set(PREFIX + key, JSON.stringify(value), cookieAttributes);
|
|
240
240
|
});
|
|
241
241
|
__publicField(this, "remove", (key) => {
|
|
@@ -254,7 +254,7 @@ class SessionStorage {
|
|
|
254
254
|
}
|
|
255
255
|
});
|
|
256
256
|
__publicField(this, "set", (key, value) => {
|
|
257
|
-
debug$
|
|
257
|
+
debug$2(`SessionStorage.set: key: ${key}, value: [${value}]`);
|
|
258
258
|
sessionStorage.setItem(PREFIX + key, JSON.stringify(value));
|
|
259
259
|
});
|
|
260
260
|
__publicField(this, "remove", (key) => {
|
|
@@ -273,7 +273,7 @@ class LocalStorage {
|
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
275
|
__publicField(this, "set", (key, value) => {
|
|
276
|
-
debug$
|
|
276
|
+
debug$2(`LocalStorage.set: key: ${key}, value: [${value}]`);
|
|
277
277
|
localStorage.setItem(PREFIX + key, JSON.stringify(value));
|
|
278
278
|
});
|
|
279
279
|
__publicField(this, "remove", (key) => {
|
|
@@ -293,7 +293,7 @@ class MemoryStorage {
|
|
|
293
293
|
}
|
|
294
294
|
});
|
|
295
295
|
__publicField(this, "set", (key, value) => {
|
|
296
|
-
debug$
|
|
296
|
+
debug$2(`MemoryStorage.set: key: ${key}, value: [${value}]`);
|
|
297
297
|
__privateGet(this, _store)[PREFIX + key] = value;
|
|
298
298
|
});
|
|
299
299
|
__publicField(this, "remove", (key) => {
|
|
@@ -5245,7 +5245,6 @@ chalk.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
|
5245
5245
|
chalk.stderr.supportsColor = stderrColor;
|
|
5246
5246
|
var source = chalk;
|
|
5247
5247
|
const chalk$1 = /* @__PURE__ */ getDefaultExportFromCjs(source);
|
|
5248
|
-
const debug$2 = debugModule(`proc:${process.pid}:workerManager`);
|
|
5249
5248
|
chalk$1.level = 3;
|
|
5250
5249
|
class STSWorkerManager {
|
|
5251
5250
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -5625,16 +5624,18 @@ class STSWorkerManager {
|
|
|
5625
5624
|
} else {
|
|
5626
5625
|
__privateSet(this, _options, {});
|
|
5627
5626
|
}
|
|
5628
|
-
|
|
5629
|
-
|
|
5627
|
+
console.log(chalk$1.yellow(`CompareSTSInstrumentControllerPluginKeyWMEx(): [${CompareSTSInstrumentControllerPluginKeyWMEx()}]`));
|
|
5628
|
+
console.log(chalk$1.yellow(`Attempting to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`));
|
|
5630
5629
|
__privateSet(this, _STSInstrumentController, GetSTSInstrumentController(app));
|
|
5631
|
-
|
|
5632
|
-
|
|
5630
|
+
console.log(chalk$1.yellow(app.config.globalProperties.$sts[STSInstrumentControllerPluginKey]));
|
|
5631
|
+
console.log(chalk$1.yellow(__privateGet(this, _STSInstrumentController)));
|
|
5632
|
+
console.log(chalk$1.yellow(app.config.globalProperties.$sts.aic));
|
|
5633
|
+
console.log(chalk$1.yellow("keys within app.config.globalProperties.$sts"));
|
|
5633
5634
|
for (const [key] of Object.entries(app.config.globalProperties.$sts)) {
|
|
5634
|
-
|
|
5635
|
+
console.log(chalk$1.yellow(`${key}`));
|
|
5635
5636
|
}
|
|
5636
5637
|
if (!__privateGet(this, _STSInstrumentController)) {
|
|
5637
|
-
|
|
5638
|
+
console.log(chalk$1.yellow(`Failed to get STSInstrumentControllerPlugin using symbol: [${String(STSInstrumentControllerPluginKey)}]`));
|
|
5638
5639
|
}
|
|
5639
5640
|
}
|
|
5640
5641
|
get WorkersEx() {
|