@stacksjs/security 0.58.43 → 0.58.44

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16,11 +16,8 @@ var __toESM = (mod, isNodeMode, target) => {
16
16
  return to;
17
17
  };
18
18
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
19
- var __require = (id) => {
20
- return import.meta.require(id);
21
- };
22
19
 
23
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/core.js
20
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/core.js
24
21
  var require_core = __commonJS((exports, module) => {
25
22
  (function(root, factory) {
26
23
  if (typeof exports === "object") {
@@ -48,7 +45,7 @@ var require_core = __commonJS((exports, module) => {
48
45
  if (!crypto && typeof global !== "undefined" && global.crypto) {
49
46
  crypto = global.crypto;
50
47
  }
51
- if (!crypto && typeof require === "function") {
48
+ if (!crypto && typeof import.meta.require === "function") {
52
49
  try {
53
50
  crypto = import.meta.require("crypto");
54
51
  } catch (err) {
@@ -310,7 +307,7 @@ var require_core = __commonJS((exports, module) => {
310
307
  });
311
308
  });
312
309
 
313
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/enc-utf8.js
310
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/enc-utf8.js
314
311
  var require_enc_utf8 = __commonJS((exports, module) => {
315
312
  (function(root, factory) {
316
313
  if (typeof exports === "object") {
@@ -325,7 +322,7 @@ var require_enc_utf8 = __commonJS((exports, module) => {
325
322
  });
326
323
  });
327
324
 
328
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/enc-base64.js
325
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/enc-base64.js
329
326
  var require_enc_base64 = __commonJS((exports, module) => {
330
327
  (function(root, factory) {
331
328
  if (typeof exports === "object") {
@@ -405,7 +402,7 @@ var require_enc_base64 = __commonJS((exports, module) => {
405
402
  });
406
403
  });
407
404
 
408
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/md5.js
405
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/md5.js
409
406
  var require_md5 = __commonJS((exports, module) => {
410
407
  (function(root, factory) {
411
408
  if (typeof exports === "object") {
@@ -582,7 +579,7 @@ var require_md5 = __commonJS((exports, module) => {
582
579
  });
583
580
  });
584
581
 
585
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/sha1.js
582
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/sha1.js
586
583
  var require_sha1 = __commonJS((exports, module) => {
587
584
  (function(root, factory) {
588
585
  if (typeof exports === "object") {
@@ -671,7 +668,7 @@ var require_sha1 = __commonJS((exports, module) => {
671
668
  });
672
669
  });
673
670
 
674
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/hmac.js
671
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/hmac.js
675
672
  var require_hmac = __commonJS((exports, module) => {
676
673
  (function(root, factory) {
677
674
  if (typeof exports === "object") {
@@ -733,7 +730,7 @@ var require_hmac = __commonJS((exports, module) => {
733
730
  });
734
731
  });
735
732
 
736
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/evpkdf.js
733
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/evpkdf.js
737
734
  var require_evpkdf = __commonJS((exports, module) => {
738
735
  (function(root, factory, undef) {
739
736
  if (typeof exports === "object") {
@@ -792,7 +789,7 @@ var require_evpkdf = __commonJS((exports, module) => {
792
789
  });
793
790
  });
794
791
 
795
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/cipher-core.js
792
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/cipher-core.js
796
793
  var require_cipher_core = __commonJS((exports, module) => {
797
794
  (function(root, factory, undef) {
798
795
  if (typeof exports === "object") {
@@ -1090,7 +1087,7 @@ var require_cipher_core = __commonJS((exports, module) => {
1090
1087
  });
1091
1088
  });
1092
1089
 
1093
- // /Users/chrisbreuer/Code/stacks/node_modules/crypto-js/aes.js
1090
+ // /home/runner/work/stacks/stacks/node_modules/crypto-js/aes.js
1094
1091
  var require_aes = __commonJS((exports, module) => {
1095
1092
  (function(root, factory, undef) {
1096
1093
  if (typeof exports === "object") {
@@ -1242,12 +1239,12 @@ var require_aes = __commonJS((exports, module) => {
1242
1239
  });
1243
1240
  });
1244
1241
 
1245
- // /Users/chrisbreuer/Code/stacks/node_modules/bcryptjs/dist/bcrypt.js
1242
+ // /home/runner/work/stacks/stacks/node_modules/bcryptjs/dist/bcrypt.js
1246
1243
  var require_bcrypt = __commonJS((exports, module) => {
1247
1244
  (function(global2, factory) {
1248
1245
  if (typeof define === "function" && define["amd"])
1249
1246
  define([], factory);
1250
- else if (typeof require === "function" && typeof module === "object" && module && exports)
1247
+ else if (typeof import.meta.require === "function" && typeof module === "object" && module && exports)
1251
1248
  module["exports"] = factory();
1252
1249
  else
1253
1250
  (global2["dcodeIO"] = global2["dcodeIO"] || {})["bcrypt"] = factory();
@@ -3081,7 +3078,7 @@ var decrypt = function(encrypted) {
3081
3078
  // src/hash.ts
3082
3079
  var import_bcryptjs = __toESM(require_bcrypt(), 1);
3083
3080
 
3084
- // /Users/chrisbreuer/Code/stacks/node_modules/js-base64/base64.mjs
3081
+ // /home/runner/work/stacks/stacks/node_modules/js-base64/base64.mjs
3085
3082
  var version = "3.7.6";
3086
3083
  var VERSION = version;
3087
3084
  var _hasatob = typeof atob === "function";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/security",
3
3
  "type": "module",
4
- "version": "0.58.43",
4
+ "version": "0.58.44",
5
5
  "description": "The Stacks framework security.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",