@shware/security 2.1.4 → 2.2.1

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.
@@ -113,7 +113,7 @@ var require_dist = __commonJS({
113
113
  // src/session/__tests__/redis.test.ts
114
114
  import Redis from "ioredis";
115
115
 
116
- // ../../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
116
+ // ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@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
117
117
  var import_expect_type = __toESM(require_dist(), 1);
118
118
  import { b as b2, c as c2, g as g3, i as i2, s as s2, v, d as d3 } from "./chunks/vi.2VT5v0um.js.mjs";
119
119
  import { b as b3 } from "./chunks/benchmark.B3N2zMcH.js.mjs";
@@ -201,7 +201,7 @@ function f() {
201
201
  }
202
202
  var C = f();
203
203
 
204
- // ../../node_modules/.pnpm/@vitest+pretty-format@4.0.17/node_modules/@vitest/pretty-format/dist/index.js
204
+ // ../../node_modules/.pnpm/@vitest+pretty-format@4.0.18/node_modules/@vitest/pretty-format/dist/index.js
205
205
  function _mergeNamespaces(n2, m2) {
206
206
  m2.forEach(function(e2) {
207
207
  e2 && typeof e2 !== "string" && !Array.isArray(e2) && Object.keys(e2).forEach(function(k2) {
@@ -394,6 +394,9 @@ function printProps(keys, props, config, indentation, depth, refs, printer2) {
394
394
  const colors = config.colors;
395
395
  return keys.map((key) => {
396
396
  const value = props[key];
397
+ if (typeof value === "string" && value[0] === "_" && value.startsWith("__vitest_") && value.match(/__vitest_\d+__/)) {
398
+ return "";
399
+ }
397
400
  let printed = printer2(value, config, indentationNext, depth, refs);
398
401
  if (typeof value !== "string") {
399
402
  if (printed.includes("\n")) {
@@ -1158,7 +1161,7 @@ var plugins = {
1158
1161
  Error: ErrorPlugin
1159
1162
  };
1160
1163
 
1161
- // ../../node_modules/.pnpm/@vitest+utils@4.0.17/node_modules/@vitest/utils/dist/helpers.js
1164
+ // ../../node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/helpers.js
1162
1165
  import { VALID_ID_PREFIX, NULL_BYTE_PLACEHOLDER } from "./constants.js.mjs";
1163
1166
  function assertTypes(value, name, types) {
1164
1167
  const receivedType = typeof value;
@@ -1212,7 +1215,7 @@ function isNegativeNaN(val) {
1212
1215
  return isNegative;
1213
1216
  }
1214
1217
 
1215
- // ../../node_modules/.pnpm/@vitest+utils@4.0.17/node_modules/@vitest/utils/dist/timers.js
1218
+ // ../../node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/timers.js
1216
1219
  var SAFE_TIMERS_SYMBOL = /* @__PURE__ */ Symbol("vitest:SAFE_TIMERS");
1217
1220
  function getSafeTimers() {
1218
1221
  const { setTimeout: safeSetTimeout, setInterval: safeSetInterval, clearInterval: safeClearInterval, clearTimeout: safeClearTimeout, setImmediate: safeSetImmediate, clearImmediate: safeClearImmediate, queueMicrotask: safeQueueMicrotask } = globalThis[SAFE_TIMERS_SYMBOL] || globalThis;
@@ -1229,7 +1232,7 @@ function getSafeTimers() {
1229
1232
  };
1230
1233
  }
1231
1234
 
1232
- // ../../node_modules/.pnpm/@vitest+utils@4.0.17/node_modules/@vitest/utils/dist/display.js
1235
+ // ../../node_modules/.pnpm/@vitest+utils@4.0.18/node_modules/@vitest/utils/dist/display.js
1233
1236
  var ansiColors = {
1234
1237
  bold: ["1", "22"],
1235
1238
  dim: ["2", "22"],
@@ -1913,7 +1916,7 @@ function objDisplay(obj, options = {}) {
1913
1916
  return str;
1914
1917
  }
1915
1918
 
1916
- // ../../node_modules/.pnpm/@vitest+runner@4.0.17/node_modules/@vitest/runner/dist/index.js
1919
+ // ../../node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/index.js
1917
1920
  import { c as createChainable, e as createTaskName, f as findTestFileStackTrace, b as createFileTask, a as calculateSuiteHash, s as someTasksAreOnly, i as interpretTaskModes, l as limitConcurrency, p as partitionSuiteChildren, r as hasTests, q as hasFailed } from "./chunk-tasks.js.mjs";
1918
1921
  var PendingError = class extends Error {
1919
1922
  code = "VITEST_PENDING";
@@ -3058,17 +3061,17 @@ function manageArtifactAttachment(attachment) {
3058
3061
  }
3059
3062
  }
3060
3063
 
3061
- // ../../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
3064
+ // ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@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
3062
3065
  import "./chunks/utils.DvEY5TfP.js.mjs";
3063
3066
 
3064
- // ../../node_modules/.pnpm/@vitest+runner@4.0.17/node_modules/@vitest/runner/dist/utils.js
3067
+ // ../../node_modules/.pnpm/@vitest+runner@4.0.18/node_modules/@vitest/runner/dist/utils.js
3065
3068
  import { a, c, b, e, f as f2, g as g2, d as d2, h as h2, j, k, m, n, o, q, r, i, t, l, p, s } from "./chunk-tasks.js.mjs";
3066
3069
 
3067
- // ../../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
3070
+ // ../../node_modules/.pnpm/vitest@4.0.18_@opentelemetry+api@1.9.0_@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
3068
3071
  import "./chunks/_commonjsHelpers.D26ty3Ew.js.mjs";
3069
3072
  import "./chunks/date.Bq6ZW5rf.js.mjs";
3070
3073
 
3071
- // ../../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
3074
+ // ../../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
3072
3075
  var SOURCEMAPPING_URL = "sourceMa";
3073
3076
  SOURCEMAPPING_URL += "ppingURL";
3074
3077
  var isWindows = typeof process < "u" && process.platform === "win32";