@batijs/core 0.0.79-beta.4 → 0.0.79-beta.5
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/conflicts.d.ts +1 -1
- package/dist/conflicts.js +1 -1
- package/package.json +1 -1
package/dist/conflicts.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ type Rule = (fts: Set<FeaturesOrNamespaces>) => null | undefined | false | strin
|
|
|
12
12
|
|
|
13
13
|
declare const _default: Rule[];
|
|
14
14
|
|
|
15
|
-
declare function conflicts(fts: FeaturesOrNamespaces[], errors: Record<RulesMessage, string>): string[];
|
|
15
|
+
declare function conflicts<T = string>(fts: FeaturesOrNamespaces[], errors: Record<RulesMessage, T | string>): (string | T)[];
|
|
16
16
|
|
|
17
17
|
export { RulesMessage, conflicts, _default as rules };
|
package/dist/conflicts.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function m(t,e,s){let a=Array.from(p(s));return u=>u.has(e)&&!a.every(r=>u.has(r))&&t}function p(t){let e=new Set;for(let s of t)s.includes(":")&&e.add(s.split(":")[0]),e.add(s);return e}var o=(e=>(e[e.AUTH_R_SERVER=0]="AUTH_R_SERVER",e))(o||{});var n=[m(0,"auth",["server"])];function
|
|
1
|
+
function m(t,e,s){let a=Array.from(p(s));return u=>u.has(e)&&!a.every(r=>u.has(r))&&t}function p(t){let e=new Set;for(let s of t)s.includes(":")&&e.add(s.split(":")[0]),e.add(s);return e}var o=(e=>(e[e.AUTH_R_SERVER=0]="AUTH_R_SERVER",e))(o||{});var n=[m(0,"auth",["server"])];function y(t,e){let s=p(t),a=[];for(let u of n){let r=u(s);typeof r=="string"?a.push(r):typeof r=="number"&&a.push(e[r])}return a}export{o as RulesMessage,y as conflicts,n as rules};
|