@@ -68,24 +68,6 @@ export const unpkg = (
6868 ] ;
6969} ;
7070
71- /**
72- * `https://lf9-cdn-tos.bytecdntp.com/cdn/expire-10-y/${name}/${version}/${pathname}`
73- * @param exportVarName cdn-exportVarName or resourceName
74- * @see https://cdn.bytedance.com/
75- */
76- export const bytecdntp = (
77- exportVarName = '' ,
78- pathname = '' ,
79- ) : [ string , ModuleToUrlFc ] => {
80- return [
81- exportVarName ,
82- ( version , name , _importName = '' , resolveName = '' ) => {
83- const p = pathname || resolveName ;
84- return `https://lf9-cdn-tos.bytecdntp.com/cdn/expire-10-y/${ name } /${ version } /${ p } ` ;
85- } ,
86- ] ;
87- } ;
88-
8971/**
9072 * `https://fastly.jsdelivr.net/npm/${name}@${version}/${pathname}`
9173 * @deprecated bootcdn will return virus-infected code. Please stop using it and switch to other sources
@@ -106,24 +88,6 @@ export const bootcdn = (
10688 ] ;
10789} ;
10890
109- /**
110- * `https://lib.baomitu.com/${name}/${version}/${pathname}`
111- * @param exportVarName cdn-exportVarName or resourceName
112- * @see https://cdn.baomitu.com/
113- */
114- export const baomitu = (
115- exportVarName = '' ,
116- pathname = '' ,
117- ) : [ string , ModuleToUrlFc ] => {
118- return [
119- exportVarName ,
120- ( version , name , _importName = '' , resolveName = '' ) => {
121- const p = pathname || resolveName ;
122- return `https://lib.baomitu.com/${ name } /${ version } /${ p } ` ;
123- } ,
124- ] ;
125- } ;
126-
12791/**
12892 * `https://fastly.jsdelivr.net/npm/${name}@${version}/${pathname}`
12993 * @deprecated staticfile will return virus-infected code. Please stop using it and switch to other sources
0 commit comments