@verdaccio/ui-theme 9.0.0-next-9.7 → 9.0.0-next-9.9
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 +2 -2
- 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.SQeg80yq.js → vendors.qmblroZE.js} +35 -35
- package/static/AddUser.DGpTiQNq.js +0 -1
- package/static/ChangePassword.Yazn-QYC.js +0 -1
- package/static/Dependencies.C-sBJGAa.js +0 -1
- package/static/Dependencies.DP2ZAa_d.js +0 -1
- package/static/Front.D9o0v1QQ.js +0 -1
- package/static/Login.CdJrPsnB.js +0 -1
- package/static/NoItems.BoohI5Hc.js +0 -1
- package/static/Success.BllxlfTu.js +0 -1
- package/static/UpLinks.B6fmyQJ2.js +0 -1
- package/static/UpLinks.Bu3oB4JG.js +0 -1
- package/static/Version.Cpak2BmU.js +0 -1
- package/static/Versions.BCiT0g9K.js +0 -1
- package/static/Versions.CyXsCEXe.js +0 -7
- package/static/main.Cz0A6f9Z.js +0 -91
- package/static/utils.Bdn9POfL.js +0 -10
package/static/utils.Bdn9POfL.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./rolldown-runtime.M0LkISsN.js";import{An as t,Cn as n,Dn as r,En as i,Jn as a,On as o,Tn as s,Wn as c,jn as l,kn as u,wn as d}from"./vendors.SQeg80yq.js";var f=e(l(),1),p=e(t(),1);function m(e){return(0,p.default)(e||``,{protocols:[`http`,`https`,`git+https`,`git`],require_protocol:!0,require_tld:!1})}function h(e){return(0,f.default)(e||``)}function g(e){return e.substring(e.lastIndexOf(`/`)+1)}function _(e,t){let n={lastModified:Date.now(),name:t};return Object.assign(e,n)}function v(e,t){let n;n=navigator.msSaveBlob?_(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 y=e(u(),1),b=e(o(),1),x=e(r(),1),S=e(s(),1),C=`L LTS`;y.default.extend(x.default),y.default.extend(b.default);function w(e){if((0,S.default)(e))return e;if(e&&typeof e==`object`&&`type`in e&&typeof e.type==`string`)return e.type}function T(e){return(0,y.default)(new Date(e)).format(C)}function E(e){return(0,y.default)(new Date(e)).fromNow()}function D(e){return e?e.toLowerCase()===`anonymous`?i.t(`author-anonymous`):e:i.t(`author-unknown`)}function O(e,t){switch(e){case`npmjs`:return`https://www.npmjs.com/package/${t}`}return null}function k(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 A(e,t,n){return`${e} ${t?`${t}:`:``}registry ${n}`}function j(e,t){return`${e} --registry ${t}`}function M(e,t){return`${e} profile set password --registry ${t}`}function N(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 P=e(a(),1),F=c(),I=e=>{let t=(0,P.lazy)(e);return e=>(0,F.jsx)(P.Suspense,{fallback:null,children:(0,F.jsx)(t,{...e})})},L=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}({}),R=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}({}),z=e(n(),1);function B(e){if(!(0,S.default)(e))return!0;let[,t]=e.split(`.`);if(!t)return!0;let n;try{n=JSON.parse(d.decode(t)).exp}catch(t){return console.error(`Invalid token:`,t,e),!0}if(!n||!(0,z.default)(n))return!0;let r=n*1e3-3e4;return Date.now()>=r}export{h as _,M as a,j as c,E as d,w as f,g,v as h,I as i,k as l,O as m,R as n,N as o,D as p,L as r,A as s,B as t,T as u,m as v};
|