@shware/security 2.1.4 → 2.2.0

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.
@@ -108,7 +108,7 @@ var require_dist = __commonJS({
108
108
  // src/session/__tests__/redis.test.ts
109
109
  var import_ioredis = __toESM(require("ioredis"), 1);
110
110
 
111
- // ../../node_modules/.pnpm/vitest@4.0.17_@types+node@24.10.6_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vitest/dist/index.js
111
+ // ../../node_modules/.pnpm/vitest@4.0.18_@types+node@25.3.0_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vitest/dist/index.js
112
112
  var import_vi_2VT5v0um = require("./chunks/vi.2VT5v0um.js.cjs");
113
113
  var import_benchmark_B3N2zMcH = require("./chunks/benchmark.B3N2zMcH.js.cjs");
114
114
  var import_evaluatedModules_Dg1zASAC = require("./chunks/evaluatedModules.Dg1zASAC.js.cjs");
@@ -196,7 +196,7 @@ function f() {
196
196
  }
197
197
  var C = f();
198
198
 
199
- // ../../node_modules/.pnpm/@vitest+pretty-format@4.0.17/node_modules/@vitest/pretty-format/dist/index.js
199
+ // ../../node_modules/.pnpm/@vitest+pretty-format@4.0.18/node_modules/@vitest/pretty-format/dist/index.js
200
200
  function _mergeNamespaces(n2, m2) {
201
201
  m2.forEach(function(e2) {
202
202
  e2 && typeof e2 !== "string" && !Array.isArray(e2) && Object.keys(e2).forEach(function(k2) {
@@ -389,6 +389,9 @@ function printProps(keys, props, config, indentation, depth, refs, printer2) {
389
389
  const colors = config.colors;
390
390
  return keys.map((key) => {
391
391
  const value = props[key];
392
+ if (typeof value === "string" && value[0] === "_" && value.startsWith("__vitest_") && value.match(/__vitest_\d+__/)) {
393
+ return "";
394
+ }
392
395
  let printed = printer2(value, config, indentationNext, depth, refs);
393
396
  if (typeof value !== "string") {
394
397
  if (printed.includes("\n")) {
@@ -1153,7 +1156,7 @@ var plugins = {
1153
1156
  Error: ErrorPlugin
1154
1157
  };
1155
1158
 
1156
- // ../../node_modules/.pnpm/@vitest+utils@4.0.17/node_modules/@vitest/utils/dist/helpers.js
1159
+ // ../../node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/helpers.js
1157
1160
  var import_constants = require("./constants.js.cjs");
1158
1161
  function assertTypes(value, name, types) {
1159
1162
  const receivedType = typeof value;
@@ -1207,7 +1210,7 @@ function isNegativeNaN(val) {
1207
1210
  return isNegative;
1208
1211
  }
1209
1212
 
1210
- // ../../node_modules/.pnpm/@vitest+utils@4.0.17/node_modules/@vitest/utils/dist/timers.js
1213
+ // ../../node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/timers.js
1211
1214
  var SAFE_TIMERS_SYMBOL = /* @__PURE__ */ Symbol("vitest:SAFE_TIMERS");
1212
1215
  function getSafeTimers() {
1213
1216
  const { setTimeout: safeSetTimeout, setInterval: safeSetInterval, clearInterval: safeClearInterval, clearTimeout: safeClearTimeout, setImmediate: safeSetImmediate, clearImmediate: safeClearImmediate, queueMicrotask: safeQueueMicrotask } = globalThis[SAFE_TIMERS_SYMBOL] || globalThis;
@@ -1224,7 +1227,7 @@ function getSafeTimers() {
1224
1227
  };
1225
1228
  }
1226
1229
 
1227
- // ../../node_modules/.pnpm/@vitest+utils@4.0.17/node_modules/@vitest/utils/dist/display.js
1230
+ // ../../node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/display.js
1228
1231
  var ansiColors = {
1229
1232
  bold: ["1", "22"],
1230
1233
  dim: ["2", "22"],
@@ -1908,7 +1911,7 @@ function objDisplay(obj, options = {}) {
1908
1911
  return str;
1909
1912
  }
1910
1913
 
1911
- // ../../node_modules/.pnpm/@vitest+runner@4.0.17/node_modules/@vitest/runner/dist/index.js
1914
+ // ../../node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js
1912
1915
  var import_chunk_tasks = require("./chunk-tasks.js.cjs");
1913
1916
  var PendingError = class extends Error {
1914
1917
  code = "VITEST_PENDING";
@@ -3053,17 +3056,17 @@ function manageArtifactAttachment(attachment) {
3053
3056
  }
3054
3057
  }
3055
3058
 
3056
- // ../../node_modules/.pnpm/vitest@4.0.17_@types+node@24.10.6_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vitest/dist/index.js
3059
+ // ../../node_modules/.pnpm/vitest@4.0.18_@types+node@25.3.0_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vitest/dist/index.js
3057
3060
  var import_utils_DvEY5TfP = require("./chunks/utils.DvEY5TfP.js.cjs");
3058
3061
 
3059
- // ../../node_modules/.pnpm/@vitest+runner@4.0.17/node_modules/@vitest/runner/dist/utils.js
3062
+ // ../../node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/utils.js
3060
3063
  var import_chunk_tasks2 = require("./chunk-tasks.js.cjs");
3061
3064
 
3062
- // ../../node_modules/.pnpm/vitest@4.0.17_@types+node@24.10.6_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vitest/dist/index.js
3065
+ // ../../node_modules/.pnpm/vitest@4.0.18_@types+node@25.3.0_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vitest/dist/index.js
3063
3066
  var import_commonjsHelpers_D26ty3Ew = require("./chunks/_commonjsHelpers.D26ty3Ew.js.cjs");
3064
3067
  var import_date_Bq6ZW5rf = require("./chunks/date.Bq6ZW5rf.js.cjs");
3065
3068
 
3066
- // ../../node_modules/.pnpm/vite@7.3.1_@types+node@24.10.6_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/module-runner.js
3069
+ // ../../node_modules/.pnpm/vite@7.3.1_@types+node@25.3.0_jiti@2.6.1_lightningcss@1.30.2_terser@5.44.1_yaml@2.8.2/node_modules/vite/dist/node/module-runner.js
3067
3070
  var SOURCEMAPPING_URL = "sourceMa";
3068
3071
  SOURCEMAPPING_URL += "ppingURL";
3069
3072
  var isWindows = typeof process < "u" && process.platform === "win32";