@stacksjs/security 0.58.28 → 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.
- package/dist/index.js +3 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16,9 +16,6 @@ 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
20
|
// /home/runner/work/stacks/stacks/node_modules/crypto-js/core.js
|
|
24
21
|
var require_core = __commonJS((exports, module) => {
|
|
@@ -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) {
|
|
@@ -1247,7 +1244,7 @@ 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();
|
|
@@ -3082,7 +3079,7 @@ var decrypt = function(encrypted) {
|
|
|
3082
3079
|
var import_bcryptjs = __toESM(require_bcrypt(), 1);
|
|
3083
3080
|
|
|
3084
3081
|
// /home/runner/work/stacks/stacks/node_modules/js-base64/base64.mjs
|
|
3085
|
-
var version = "3.7.
|
|
3082
|
+
var version = "3.7.6";
|
|
3086
3083
|
var VERSION = version;
|
|
3087
3084
|
var _hasatob = typeof atob === "function";
|
|
3088
3085
|
var _hasbtoa = typeof btoa === "function";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/security",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.44",
|
|
5
5
|
"description": "The Stacks framework security.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@stacksjs/validation": "workspace:*",
|
|
58
58
|
"bcryptjs": "^2.4.3",
|
|
59
59
|
"crypto-js": "^4.2.0",
|
|
60
|
-
"js-base64": "^3.7.
|
|
60
|
+
"js-base64": "^3.7.6"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@stacksjs/development": "workspace:*"
|