x-essential-lib 0.5.0 → 0.5.2
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 +1 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -288,7 +288,6 @@ const Ae = [
|
|
|
288
288
|
{ path: "/mine/general/language", level: 3, requiredState: "org" },
|
|
289
289
|
{ path: "/app/manager", level: 1, requiredState: "org" },
|
|
290
290
|
{ path: "/app/editor", level: 2, requiredState: "org" },
|
|
291
|
-
{ path: "/app/editor/*", level: 2, requiredState: "org" },
|
|
292
291
|
{ path: "/asset", level: 1, requiredState: "org" },
|
|
293
292
|
{ path: "/calc", level: 1, requiredState: "org" },
|
|
294
293
|
{ path: "/data", level: 1, requiredState: "org" }
|
|
@@ -301,7 +300,7 @@ function N(e) {
|
|
|
301
300
|
let l = 0;
|
|
302
301
|
for (let c = 0; c < r.length && !(c >= n.length || r[c] !== n[c]); c++)
|
|
303
302
|
l++;
|
|
304
|
-
l >= t && (a = o, t = l);
|
|
303
|
+
l > 0 && l >= t && (a = o, t = l);
|
|
305
304
|
}), a;
|
|
306
305
|
}
|
|
307
306
|
function ae(e) {
|