@verdaccio/ui-theme 9.0.0-next-9.6 → 9.0.0-next-9.8
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/package.json +10 -10
- package/static/AddUser.D3rJ3-mK.js +1 -0
- package/static/ChangePassword.CSFswSGC.js +1 -0
- package/static/Dependencies.B3pVFXXa.js +1 -0
- package/static/Dependencies.D5zKMYcL.js +1 -0
- package/static/Front.X4yhNjb9.js +1 -0
- package/static/Login.DvusV2WG.js +1 -0
- package/static/NoItems.BKSvYOuq.js +1 -0
- package/static/Success.DPsoNpZf.js +1 -0
- package/static/UpLinks.HTXRQ6e-.js +1 -0
- package/static/UpLinks.ls_ZTiC6.js +1 -0
- package/static/Version.C8xRz_zJ.js +1 -0
- package/static/Versions.G-yySG-i.js +1 -0
- package/static/Versions.V_JOGYAU.js +7 -0
- package/static/main.hSe07IIz.js +91 -0
- package/static/manifest.json +1 -1
- package/static/utils.d6VreCDw.js +10 -0
- package/static/vendors.qmblroZE.js +251 -0
- package/static/AddUser.eKXf9lwI.js +0 -1
- package/static/ChangePassword.R_eB3MG9.js +0 -1
- package/static/Dependencies.-_CHeIpS.js +0 -2
- package/static/Dependencies.YXtyTZr0.js +0 -1
- package/static/Front.C1b9iTV3.js +0 -1
- package/static/Login.BrdJcjmu.js +0 -1
- package/static/NoItems.zeTuTuh1.js +0 -2
- package/static/Success.CGCwgIFa.js +0 -1
- package/static/UpLinks.BDdvvxLq.js +0 -2
- package/static/UpLinks.DN9lHtz5.js +0 -1
- package/static/Version.DKFAMw-W.js +0 -1
- package/static/Versions.BY9mQiM-.js +0 -1
- package/static/Versions.C1_awxkv.js +0 -8
- package/static/main.CBS1UEjc.js +0 -93
- package/static/utils.oTIDNzj9.js +0 -11
- package/static/vendors.B0uBcSLZ.js +0 -253
package/static/manifest.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{a as e}from"./rolldown-runtime.M0LkISsN.js";import{Cn as t,Dn as n,En as r,Hn as i,Kn as a,On as o,Tn as s,kn as c,wn as l,xn as u}from"./vendors.qmblroZE.js";var d=e(c(),1),f=e(o(),1);function p(e){return(0,f.default)(e||``,{protocols:[`http`,`https`,`git+https`,`git`],require_protocol:!0,require_tld:!1})}function m(e){return(0,d.default)(e||``)}function h(e){return e.substring(e.lastIndexOf(`/`)+1)}function g(e,t){let n={lastModified:Date.now(),name:t};return Object.assign(e,n)}function _(e,t){let n;n=navigator.msSaveBlob?g(new Blob([e],{type:`application/octet-stream`}),t):new File([e],t,{type:`application/octet-stream`,lastModified:Date.now()});let r=URL.createObjectURL(n),i=document.createElement(`a`);i.href=r,i.download=t,typeof window<`u`&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.includes(`Node.js`)||window.navigator.userAgent.includes(`jsdom`)?setTimeout(()=>{URL.revokeObjectURL(r)},150):(document.documentElement.appendChild(i),i.click(),setTimeout(()=>{URL.revokeObjectURL(r),document.documentElement.removeChild(i)},150))}var v=e(n(),1),y=e(r(),1),b=e(s(),1),x=`L LTS`;v.default.extend(b.default),v.default.extend(y.default);function S(e){if(typeof e==`string`)return e;if(e&&typeof e==`object`&&`type`in e&&typeof e.type==`string`)return e.type}function C(e){return(0,v.default)(new Date(e)).format(x)}function w(e){return(0,v.default)(new Date(e)).fromNow()}function T(e){return e?e.toLowerCase()===`anonymous`?l.t(`author-anonymous`):e:l.t(`author-unknown`)}function E(e,t){switch(e){case`npmjs`:return`https://www.npmjs.com/package/${t}`}return null}function D(e,t,n,r,i){t=Math,n=t.log,r=1e3,i=n(e)/n(r)|0;let a=e/t.pow(r,i);return i===0?Math.floor(a)+` Bytes`:a.toFixed(1)+` `+`kMGTPEZY`[--i]+`B`}function O(e,t,n){return`${e} ${t?`${t}:`:``}registry ${n}`}function k(e,t){return`${e} --registry ${t}`}function A(e,t){return`${e} profile set password --registry ${t}`}function j(e,t){return e?`
|
|
2
|
+
// .yarnrc.yml
|
|
3
|
+
npmRegistryServer: "${t}"
|
|
4
|
+
npmScopes:
|
|
5
|
+
${e.replace(`@`,``)}:
|
|
6
|
+
npmRegistryServer: ${t}
|
|
7
|
+
npmPublishRegistry: ${t}`:`// .yarnrc.yml
|
|
8
|
+
npmRegistryServer: "${t}"
|
|
9
|
+
unsafeHttpWhitelist:
|
|
10
|
+
- ${new URL(t).host}`}var M=e(a(),1),N=i(),P=e=>{let t=(0,M.lazy)(e);return e=>(0,N.jsx)(M.Suspense,{fallback:null,children:(0,N.jsx)(t,{...e})})},F=function(e){return e.ROOT=`/`,e.DETAIL=`/-/web/detail/`,e.SCOPE_PACKAGE=`/-/web/detail/:scope/:package`,e.SCOPE_PACKAGE_VERSION=`/-/web/detail/:scope/:package/v/:version`,e.PACKAGE=`/-/web/detail/:package`,e.PACKAGE_VERSION=`/-/web/detail/:package/v/:version`,e.LOGIN=`/-/web/login`,e.SUCCESS=`/-/web/success`,e.ADD_USER=`/-/web/add-user`,e.CHANGE_PASSWORD=`/-/web/change-password`,e.LOGIN_API=`/-/v1/login_cli`,e.CHANGE_PASSWORD_API=`/-/npm/v1/user`,e}({}),I=function(e){return e.LOGIN=`/-/verdaccio/sec/login`,e.RESET_PASSWORD=`/-/verdaccio/sec/reset_password`,e.CONFIG=`/-/verdaccio/packages`,e.PACKAGES=`/-/verdaccio/data/packages`,e.SEARCH=`/-/verdaccio/data/search/`,e.SIDEBAR=`/-/verdaccio/data/sidebar/`,e.README=`/-/verdaccio/data/package/readme/`,e}({});function L(e){if(typeof e!=`string`)return!0;let[,n]=e.split(`.`);if(!n)return!0;let r;try{r=JSON.parse(t.decode(n)).exp}catch(t){return console.error(`Invalid token:`,t,e),!0}if(!r||!u(r))return!0;let i=r*1e3-3e4;return Date.now()>=i}export{m as _,A as a,k as c,w as d,S as f,h as g,_ as h,P as i,D as l,E as m,I as n,j as o,T as p,F as r,O as s,L as t,C as u,p as v};
|