@dskripchenko/laravel-admin 1.9.2 → 1.9.3
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -19791,9 +19791,9 @@ const Ne = Ue("admin-auth", () => {
|
|
|
19791
19791
|
}
|
|
19792
19792
|
function d(g) {
|
|
19793
19793
|
return t.value.includes("*") || t.value.includes(g) ? !0 : t.value.some((S) => {
|
|
19794
|
-
if (!S.
|
|
19795
|
-
const p = S.
|
|
19796
|
-
return
|
|
19794
|
+
if (!S.includes("*")) return !1;
|
|
19795
|
+
const p = S.split("*").map((_) => _.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join(".*");
|
|
19796
|
+
return new RegExp(`^${p}$`).test(g);
|
|
19797
19797
|
});
|
|
19798
19798
|
}
|
|
19799
19799
|
function h(g) {
|