@ansible/ansible-ui-framework 2.4.592 → 2.4.594

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +17 -17
  2. package/index.umd.cjs +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -46330,13 +46330,11 @@ function k$() {
46330
46330
  }
46331
46331
  function kAe() {
46332
46332
  var i, a;
46333
- const e = k$(), t = ((i = e.location) == null ? void 0 : i.pathname) || "/", n = _e(
46334
- () => {
46335
- var o;
46336
- return new URLSearchParams(((o = e.location) == null ? void 0 : o.search) ?? "/");
46337
- },
46338
- [(a = e.location) == null ? void 0 : a.search]
46339
- ), r = pe(
46333
+ const e = k$(), t = ((i = e.location) == null ? void 0 : i.pathname) || "/", n = _e(() => {
46334
+ var l;
46335
+ let o = (l = e.location) == null ? void 0 : l.search;
46336
+ return o && o.includes("?specPath=") ? o = o.substring(0, o.indexOf("?specPath=")) : o && o.includes("&specPath=") && (o = o.substring(0, o.indexOf("&specPath="))), new URLSearchParams(o ?? "/");
46337
+ }, [(a = e.location) == null ? void 0 : a.search]), r = pe(
46340
46338
  (o) => {
46341
46339
  const l = o.toString();
46342
46340
  l ? e.update("?" + l) : e.update(t);
@@ -46401,22 +46399,24 @@ function PAe(e) {
46401
46399
  return w;
46402
46400
  }), b = pe(() => _({}), [_]), x = k$();
46403
46401
  return Oe(() => {
46404
- var O;
46402
+ var T;
46405
46403
  if (n)
46406
46404
  return;
46407
- const w = new URLSearchParams(((O = x.location) == null ? void 0 : O.search) ?? "/");
46408
- w.set("page", s.toString()), w.set("perPage", u.toString()), w.set("sort", m === "asc" ? d : `-${d}`);
46409
- for (const T of o.keys())
46410
- if (!EC.includes(T) && !(r != null && r.includes(T))) {
46405
+ let w = (T = x.location) == null ? void 0 : T.search;
46406
+ w && w.includes("?specPath=") ? w = w.substring(0, w.indexOf("?specPath=")) : w && w.includes("&specPath=") && (w = w.substring(0, w.indexOf("&specPath=")));
46407
+ const O = new URLSearchParams(w ?? "/");
46408
+ O.set("page", s.toString()), O.set("perPage", u.toString()), O.set("sort", m === "asc" ? d : `-${d}`);
46409
+ for (const A of o.keys())
46410
+ if (!EC.includes(A) && !(r != null && r.includes(A))) {
46411
46411
  if (i) {
46412
- i.includes(T) && w.delete(T);
46412
+ i.includes(A) && O.delete(A);
46413
46413
  continue;
46414
46414
  }
46415
- w.delete(T);
46415
+ O.delete(A);
46416
46416
  }
46417
- for (const T in y)
46418
- w.set(T, y[T].join(","));
46419
- l(w);
46417
+ for (const A in y)
46418
+ O.set(A, y[A].join(","));
46419
+ l(O);
46420
46420
  }, [
46421
46421
  d,
46422
46422
  m,
package/index.umd.cjs CHANGED
@@ -536,4 +536,4 @@ ${o}${y}`}else m=`${p}${s}${h.join(" ")}${s}${y}`;return e&&(m+=co(m,o,c(e)),a&&
536
536
  *
537
537
  * Copyright (c) 2014-2018, Jon Schlinkert.
538
538
  * Released under the MIT License.
539
- */const L3=n1e;var r1e=function(e,t,n){if(L3(n)||(n={default:n}),!F3(e))return typeof n.default<"u"?n.default:e;typeof t=="number"&&(t=String(t));const r=Array.isArray(t),i=typeof t=="string",a=n.separator||".",o=n.joinChar||(typeof a=="string"?a:".");if(!i&&!r)return e;if(i&&t in e)return Rb(t,e,n)?e[t]:n.default;let l=r?t:i1e(t,a,n),s=l.length,c=0;do{let u=l[c];for(typeof u=="number"&&(u=String(u));u&&u.slice(-1)==="\\";)u=$3([u.slice(0,-1),l[++c]||""],o,n);if(u in e){if(!Rb(u,e,n))return n.default;e=e[u]}else{let f=!1,d=c+1;for(;d<s;)if(u=$3([u,l[d++]],o,n),f=u in e){if(!Rb(u,e,n))return n.default;e=e[u],c=d-1;break}if(!f)return n.default}}while(++c<s&&F3(e));return c===s?e:n.default};function $3(e,t,n){return typeof n.join=="function"?n.join(e):e[0]+t+e[1]}function i1e(e,t,n){return typeof n.split=="function"?n.split(e):e.split(t)}function Rb(e,t,n){return typeof n.isValid=="function"?n.isValid(e,t):!0}function F3(e){return L3(e)||Array.isArray(e)||typeof e=="function"}const zb=je(r1e);function a1e(){const[e,t]=x.useState(!0);return x.useEffect(()=>()=>{t(!1)},[]),e}function o1e(){const e=x.useRef({isMounted:!0});return x.useEffect(()=>()=>{e.current.isMounted=!1},[]),e}function N3(){const e=a1e(),[t,n]=x.useState(e?window.location:void 0),r=x.useCallback(()=>{n(window.location)},[]);x.useEffect(()=>{if(e)return t||r(),window.addEventListener("popstate",r),()=>{window.removeEventListener("popstate",r)}},[e,t,r]);const i=x.useCallback(o=>{window.history.replaceState(null,"",o),r()},[r]),a=x.useCallback(o=>{window.history.replaceState(null,"",o),r()},[r]);return{location:t,push:i,update:a}}function l1e(){var i,a;const e=N3(),t=((i=e.location)==null?void 0:i.pathname)||"/",n=x.useMemo(()=>{var o;return new URLSearchParams(((o=e.location)==null?void 0:o.search)??"/")},[(a=e.location)==null?void 0:a.search]),r=x.useCallback(o=>{const l=o.toString();l?e.update("?"+l):e.update(t)},[e,t]);return[n,r]}function R3(e){var C;const{defaultValues:t,disableQueryString:n,ignoreQueryStringKeys:r,filterQueryStringKeys:i}=e,a=o1e(),[o,l]=l1e(),[s,c]=x.useState(()=>{if(!n){const w=o.get("page");if(w){const E=Number(w);if(Number.isInteger(E))return E}}return 1}),[u,f]=x.useState(()=>{if(!n){const E=o.get("perPage");if(E){const A=Number(E);if(Number.isInteger(A))return A}}const w=localStorage.getItem("perPage");if(w){const E=Number(w);if(Number.isInteger(E))return E}return 10}),[d,h]=x.useState(()=>{if(!n){const w=o.get("sort");if(w)return w.startsWith("-")?w.slice(1):w}return(t==null?void 0:t.sort)??""}),[m,p]=x.useState(()=>{if(!n){const w=o.get("sort");if(w)return w.startsWith("-")?"desc":"asc"}return(t==null?void 0:t.sortDirection)??"asc"}),[y,_]=x.useState(()=>{const w=(t==null?void 0:t.filterState)??{};for(const E of o.keys()){if(z3.includes(E))continue;const A=o.get(E);if(A){const k=A.split(",");w[E]=k}}return w}),b=x.useCallback(()=>_({}),[_]),S=N3();return x.useEffect(()=>{var E;if(n)return;const w=new URLSearchParams(((E=S.location)==null?void 0:E.search)??"/");w.set("page",s.toString()),w.set("perPage",u.toString()),w.set("sort",m==="asc"?d:`-${d}`);for(const A of o.keys())if(!z3.includes(A)&&!(r!=null&&r.includes(A))){if(i){i.includes(A)&&w.delete(A);continue}w.delete(A)}for(const A in y)w.set(A,y[A].join(","));l(w)},[d,m,l,n,s,u,y,r,i,a,o,(C=S.location)==null?void 0:C.search]),x.useEffect(()=>{localStorage.setItem("perPage",u.toString())},[u]),x.useMemo(()=>({page:s,setPage:c,perPage:u,setPerPage:f,sort:d,setSort:h,sortDirection:m,setSortDirection:p,filterState:y,setFilterState:_,clearAllFilters:b}),[b,y,s,u,d,m])}const z3=["page","perPage","sort"];function s1e(e){const{items:t,keyFn:n,tableColumns:r,toolbarFilters:i,disableQueryString:a}=e,o=R3({defaultValues:{sort:r&&r.length?r[0].sort:void 0},disableQueryString:a}),{page:l,perPage:s,sort:c,sortDirection:u,filterState:f}=o,d=Ry(t),{setSort:h}=d;x.useEffect(()=>h({id:c,sortFn:(C,w)=>{const E=zb(C,c),A=zb(w,c);return Kk(E,A)},direction:u}),[c,u,h]);const m=zy(d.sorted,n),{setFilterFn:p}=m;x.useEffect(()=>{Object.keys(f).length===0?p(void 0):p(C=>{for(const w in f){const E=i==null?void 0:i.find(A=>A.key===w);if(E){const A=zb(C,E.query);if(typeof A=="string"){const k=f[w];if(k&&k.length!==0&&!k.includes(A))return!1}}}return!0})},[f,p,i]);const y=vc(m.filtered),{setPage:_,setPerPage:b}=y;x.useEffect(()=>_(l),[l,y,_]),x.useEffect(()=>b(s),[s,y,b]);const S=Hk(t,n);return x.useMemo(()=>({itemCount:t?m.filtered.length:void 0,pageItems:t?y.paged:void 0,error:e.error,...o,...S}),[m.filtered.length,t,e.error,y.paged,S,o])}q.BulkActionDialog=qk,q.BulkSelector=$k,q.BytesCell=jD,q.CapacityCell=iM,q.Collapse=_c,q.ColumnCardOption=kk,q.ColumnListOption=Ak,q.ColumnModalOption=Pk,q.ColumnTableOption=ma,q.CopyCell=aM,q.DateCell=n4,q.DateTimeCell=t1,q.DialogContext=DD,q.ElapsedTimeCell=i4,q.FrameworkTranslationsProvider=d5,q.Help=Wm,q.LabelColorE=a1,q.LabelsCell=n1,q.LoadingPage=e1e,q.MultiSelectDialog=zve,q.PFColorE=r1,q.PageActionSelection=vt,q.PageActionType=Wt,q.PageActions=Co,q.PageAlertToasterContext=zm,q.PageAlertToasterProvider=v5,q.PageApp=Hxe,q.PageBody=PD,q.PageChartContainer=Mu,q.PageDashboard=L4,q.PageDashboardCard=Iu,q.PageDashboardChart=I0e,q.PageDashboardContext=_p,q.PageDashboardCount=F0e,q.PageDashboardDonutCard=z0e,q.PageDashboardGettingStarted=N0e,q.PageDetail=gc,q.PageDetails=Ek,q.PageDetailsFromColumns=Lk,q.PageDialogProvider=_5,q.PageDonutChart=Tk,q.PageForm=h3,q.PageFormCancelButton=p3,q.PageFormCheckbox=iye,q.PageFormDataEditor=axe,q.PageFormGrid=m3,q.PageFormSelect=oxe,q.PageFormSubmitButton=$b,q.PageFormSwitch=lxe,q.PageFormTextArea=sxe,q.PageFormTextInput=cxe,q.PageFramework=y3,q.PageHeader=b3,q.PageLayout=_3,q.PageMasthead=Rxe,q.PageMastheadToggle=x3,q.PageNavSideBarContext=Fb,q.PageNavSideBarProvider=g3,q.PageNavigation=S3,q.PageTab=Nb,q.PageTable=yc,q.PageTableCards=Wy,q.PageTabs=j3,q.PageToolbar=Vk,q.PageToolbarFilters=zk,q.PageWizard=Jxe,q.RunningIcon=I3,q.Scrollable=Ji,q.SelectDialog=Zk,q.SettingsContext=Oo,q.SettingsDialog=A5,q.SettingsProvider=E5,q.TableColumnCell=tn,q.TextCell=mp,q.ToolbarFilterType=Nk,q.addNavigationItem=E3,q.addNavigationItemAfter=A3,q.addNavigationItemBefore=k3,q.compareNumbers=Xk,q.compareStrings=bc,q.compareUnknowns=Kk,q.errorToAlertProps=kD,q.findNavigationItemById=O3,q.getPatternflyColor=Au,q.pfDanger=fp,q.pfDisabled=hp,q.pfInfo=dp,q.pfLink=a4,q.pfSuccess=up,q.pfWarning=i1,q.removeLeadingSlash=Uxe,q.removeNavigationItemById=T3,q.useBreakpoint=Tn,q.useBulkActionDialog=Yk,q.useBulkConfirmation=Rve,q.useColumnsWithoutExpandedRow=U0e,q.useColumnsWithoutSort=H0e,q.useDescriptionColumns=Mk,q.useExpandedColumns=Ik,q.useFiltered=zy,q.useFrameworkTranslations=Ot,q.useGetPageUrl=P3,q.useInMemoryView=s1e,q.useOrientation=q3,q.usePageAlertToaster=Bm,q.usePageDialog=Ur,q.usePageNavBarClick=v3,q.usePageNavSideBar=Kh,q.usePageNavigate=Gxe,q.usePaged=vc,q.useSelectDialog=Bve,q.useSelected=Ny,q.useSelectedInMemory=Hk,q.useSettings=To,q.useSettingsDialog=rM,q.useSorted=Ry,q.useTableItems=uve,q.useView=R3,q.useVisibleCardColumns=Dk,q.useVisibleColumns=V0e,q.useVisibleListColumns=jk,q.useVisibleModalColumns=$y,q.useVisibleTableColumns=Ly,q.useWindowSize=Zb,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});
539
+ */const L3=n1e;var r1e=function(e,t,n){if(L3(n)||(n={default:n}),!F3(e))return typeof n.default<"u"?n.default:e;typeof t=="number"&&(t=String(t));const r=Array.isArray(t),i=typeof t=="string",a=n.separator||".",o=n.joinChar||(typeof a=="string"?a:".");if(!i&&!r)return e;if(i&&t in e)return Rb(t,e,n)?e[t]:n.default;let l=r?t:i1e(t,a,n),s=l.length,c=0;do{let u=l[c];for(typeof u=="number"&&(u=String(u));u&&u.slice(-1)==="\\";)u=$3([u.slice(0,-1),l[++c]||""],o,n);if(u in e){if(!Rb(u,e,n))return n.default;e=e[u]}else{let f=!1,d=c+1;for(;d<s;)if(u=$3([u,l[d++]],o,n),f=u in e){if(!Rb(u,e,n))return n.default;e=e[u],c=d-1;break}if(!f)return n.default}}while(++c<s&&F3(e));return c===s?e:n.default};function $3(e,t,n){return typeof n.join=="function"?n.join(e):e[0]+t+e[1]}function i1e(e,t,n){return typeof n.split=="function"?n.split(e):e.split(t)}function Rb(e,t,n){return typeof n.isValid=="function"?n.isValid(e,t):!0}function F3(e){return L3(e)||Array.isArray(e)||typeof e=="function"}const zb=je(r1e);function a1e(){const[e,t]=x.useState(!0);return x.useEffect(()=>()=>{t(!1)},[]),e}function o1e(){const e=x.useRef({isMounted:!0});return x.useEffect(()=>()=>{e.current.isMounted=!1},[]),e}function N3(){const e=a1e(),[t,n]=x.useState(e?window.location:void 0),r=x.useCallback(()=>{n(window.location)},[]);x.useEffect(()=>{if(e)return t||r(),window.addEventListener("popstate",r),()=>{window.removeEventListener("popstate",r)}},[e,t,r]);const i=x.useCallback(o=>{window.history.replaceState(null,"",o),r()},[r]),a=x.useCallback(o=>{window.history.replaceState(null,"",o),r()},[r]);return{location:t,push:i,update:a}}function l1e(){var i,a;const e=N3(),t=((i=e.location)==null?void 0:i.pathname)||"/",n=x.useMemo(()=>{var l;let o=(l=e.location)==null?void 0:l.search;return o&&o.includes("?specPath=")?o=o.substring(0,o.indexOf("?specPath=")):o&&o.includes("&specPath=")&&(o=o.substring(0,o.indexOf("&specPath="))),new URLSearchParams(o??"/")},[(a=e.location)==null?void 0:a.search]),r=x.useCallback(o=>{const l=o.toString();l?e.update("?"+l):e.update(t)},[e,t]);return[n,r]}function R3(e){var C;const{defaultValues:t,disableQueryString:n,ignoreQueryStringKeys:r,filterQueryStringKeys:i}=e,a=o1e(),[o,l]=l1e(),[s,c]=x.useState(()=>{if(!n){const w=o.get("page");if(w){const E=Number(w);if(Number.isInteger(E))return E}}return 1}),[u,f]=x.useState(()=>{if(!n){const E=o.get("perPage");if(E){const A=Number(E);if(Number.isInteger(A))return A}}const w=localStorage.getItem("perPage");if(w){const E=Number(w);if(Number.isInteger(E))return E}return 10}),[d,h]=x.useState(()=>{if(!n){const w=o.get("sort");if(w)return w.startsWith("-")?w.slice(1):w}return(t==null?void 0:t.sort)??""}),[m,p]=x.useState(()=>{if(!n){const w=o.get("sort");if(w)return w.startsWith("-")?"desc":"asc"}return(t==null?void 0:t.sortDirection)??"asc"}),[y,_]=x.useState(()=>{const w=(t==null?void 0:t.filterState)??{};for(const E of o.keys()){if(z3.includes(E))continue;const A=o.get(E);if(A){const k=A.split(",");w[E]=k}}return w}),b=x.useCallback(()=>_({}),[_]),S=N3();return x.useEffect(()=>{var A;if(n)return;let w=(A=S.location)==null?void 0:A.search;w&&w.includes("?specPath=")?w=w.substring(0,w.indexOf("?specPath=")):w&&w.includes("&specPath=")&&(w=w.substring(0,w.indexOf("&specPath=")));const E=new URLSearchParams(w??"/");E.set("page",s.toString()),E.set("perPage",u.toString()),E.set("sort",m==="asc"?d:`-${d}`);for(const k of o.keys())if(!z3.includes(k)&&!(r!=null&&r.includes(k))){if(i){i.includes(k)&&E.delete(k);continue}E.delete(k)}for(const k in y)E.set(k,y[k].join(","));l(E)},[d,m,l,n,s,u,y,r,i,a,o,(C=S.location)==null?void 0:C.search]),x.useEffect(()=>{localStorage.setItem("perPage",u.toString())},[u]),x.useMemo(()=>({page:s,setPage:c,perPage:u,setPerPage:f,sort:d,setSort:h,sortDirection:m,setSortDirection:p,filterState:y,setFilterState:_,clearAllFilters:b}),[b,y,s,u,d,m])}const z3=["page","perPage","sort"];function s1e(e){const{items:t,keyFn:n,tableColumns:r,toolbarFilters:i,disableQueryString:a}=e,o=R3({defaultValues:{sort:r&&r.length?r[0].sort:void 0},disableQueryString:a}),{page:l,perPage:s,sort:c,sortDirection:u,filterState:f}=o,d=Ry(t),{setSort:h}=d;x.useEffect(()=>h({id:c,sortFn:(C,w)=>{const E=zb(C,c),A=zb(w,c);return Kk(E,A)},direction:u}),[c,u,h]);const m=zy(d.sorted,n),{setFilterFn:p}=m;x.useEffect(()=>{Object.keys(f).length===0?p(void 0):p(C=>{for(const w in f){const E=i==null?void 0:i.find(A=>A.key===w);if(E){const A=zb(C,E.query);if(typeof A=="string"){const k=f[w];if(k&&k.length!==0&&!k.includes(A))return!1}}}return!0})},[f,p,i]);const y=vc(m.filtered),{setPage:_,setPerPage:b}=y;x.useEffect(()=>_(l),[l,y,_]),x.useEffect(()=>b(s),[s,y,b]);const S=Hk(t,n);return x.useMemo(()=>({itemCount:t?m.filtered.length:void 0,pageItems:t?y.paged:void 0,error:e.error,...o,...S}),[m.filtered.length,t,e.error,y.paged,S,o])}q.BulkActionDialog=qk,q.BulkSelector=$k,q.BytesCell=jD,q.CapacityCell=iM,q.Collapse=_c,q.ColumnCardOption=kk,q.ColumnListOption=Ak,q.ColumnModalOption=Pk,q.ColumnTableOption=ma,q.CopyCell=aM,q.DateCell=n4,q.DateTimeCell=t1,q.DialogContext=DD,q.ElapsedTimeCell=i4,q.FrameworkTranslationsProvider=d5,q.Help=Wm,q.LabelColorE=a1,q.LabelsCell=n1,q.LoadingPage=e1e,q.MultiSelectDialog=zve,q.PFColorE=r1,q.PageActionSelection=vt,q.PageActionType=Wt,q.PageActions=Co,q.PageAlertToasterContext=zm,q.PageAlertToasterProvider=v5,q.PageApp=Hxe,q.PageBody=PD,q.PageChartContainer=Mu,q.PageDashboard=L4,q.PageDashboardCard=Iu,q.PageDashboardChart=I0e,q.PageDashboardContext=_p,q.PageDashboardCount=F0e,q.PageDashboardDonutCard=z0e,q.PageDashboardGettingStarted=N0e,q.PageDetail=gc,q.PageDetails=Ek,q.PageDetailsFromColumns=Lk,q.PageDialogProvider=_5,q.PageDonutChart=Tk,q.PageForm=h3,q.PageFormCancelButton=p3,q.PageFormCheckbox=iye,q.PageFormDataEditor=axe,q.PageFormGrid=m3,q.PageFormSelect=oxe,q.PageFormSubmitButton=$b,q.PageFormSwitch=lxe,q.PageFormTextArea=sxe,q.PageFormTextInput=cxe,q.PageFramework=y3,q.PageHeader=b3,q.PageLayout=_3,q.PageMasthead=Rxe,q.PageMastheadToggle=x3,q.PageNavSideBarContext=Fb,q.PageNavSideBarProvider=g3,q.PageNavigation=S3,q.PageTab=Nb,q.PageTable=yc,q.PageTableCards=Wy,q.PageTabs=j3,q.PageToolbar=Vk,q.PageToolbarFilters=zk,q.PageWizard=Jxe,q.RunningIcon=I3,q.Scrollable=Ji,q.SelectDialog=Zk,q.SettingsContext=Oo,q.SettingsDialog=A5,q.SettingsProvider=E5,q.TableColumnCell=tn,q.TextCell=mp,q.ToolbarFilterType=Nk,q.addNavigationItem=E3,q.addNavigationItemAfter=A3,q.addNavigationItemBefore=k3,q.compareNumbers=Xk,q.compareStrings=bc,q.compareUnknowns=Kk,q.errorToAlertProps=kD,q.findNavigationItemById=O3,q.getPatternflyColor=Au,q.pfDanger=fp,q.pfDisabled=hp,q.pfInfo=dp,q.pfLink=a4,q.pfSuccess=up,q.pfWarning=i1,q.removeLeadingSlash=Uxe,q.removeNavigationItemById=T3,q.useBreakpoint=Tn,q.useBulkActionDialog=Yk,q.useBulkConfirmation=Rve,q.useColumnsWithoutExpandedRow=U0e,q.useColumnsWithoutSort=H0e,q.useDescriptionColumns=Mk,q.useExpandedColumns=Ik,q.useFiltered=zy,q.useFrameworkTranslations=Ot,q.useGetPageUrl=P3,q.useInMemoryView=s1e,q.useOrientation=q3,q.usePageAlertToaster=Bm,q.usePageDialog=Ur,q.usePageNavBarClick=v3,q.usePageNavSideBar=Kh,q.usePageNavigate=Gxe,q.usePaged=vc,q.useSelectDialog=Bve,q.useSelected=Ny,q.useSelectedInMemory=Hk,q.useSettings=To,q.useSettingsDialog=rM,q.useSorted=Ry,q.useTableItems=uve,q.useView=R3,q.useVisibleCardColumns=Dk,q.useVisibleColumns=V0e,q.useVisibleListColumns=jk,q.useVisibleModalColumns=$y,q.useVisibleTableColumns=Ly,q.useWindowSize=Zb,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ansible/ansible-ui-framework",
3
3
  "description": "A framework for building applications using PatternFly.",
4
- "version": "2.4.592",
4
+ "version": "2.4.594",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",