@@ -12,13 +12,14 @@ import * as misc from '../utils/misc.js';
1212import COOKIE from '../utils/cookieManager.js' ;
1313import AIS from '../utils/ais.js' ;
1414import PanS from '../utils/pans.js' ;
15- import { createWebDAVClient } from '../utils/webdav.js' ;
16- import { createFTPClient } from '../utils/ftp.js' ;
15+ import { createWebDAVClient } from '../utils/webdav.js' ;
16+ import { createFTPClient } from '../utils/ftp.js' ;
1717import { ENV } from '../utils/env.js' ;
1818import { getContentType , getMimeType } from "../utils/mime-type.js" ;
1919import { getParsesDict , getSitesMap , pathLib , es6_extend_code , req_extend_code } from "../utils/file.js" ;
2020import { getFirstLetter } from "../utils/pinyin-tool.js" ;
2121import { reqs } from "../utils/req.js" ;
22+ import { toBeijingTime } from "../utils/datetime-format.js"
2223import "../utils/random-http-ua.js" ;
2324import { initializeGlobalDollar , rootRequire } from "../libs_drpy/moduleLoader.js" ;
2425import { base64Decode , base64Encode , md5 , rc4 , rc4_decode , rc4Decrypt , rc4Encrypt } from "../libs_drpy/crypto-util.js" ;
@@ -65,7 +66,7 @@ const {Ali, Baidu, Baidu2, Cloud, Pan, Quark, UC, Yun} = PanS;
6566const {
6667 sleep, sleepSync, getNowTime, computeHash, deepCopy,
6768 urljoin, urljoin2, joinUrl, keysToLowerCase, naturalSort, $js,
68- createBasicAuthHeaders
69+ createBasicAuthHeaders, get_size ,
6970} = utils ;
7071// 缓存已初始化的模块和文件 hash 值
7172const moduleCache = new Map ( ) ;
@@ -163,6 +164,7 @@ export async function getSandbox(env = {}) {
163164 naturalSort,
164165 $js,
165166 createBasicAuthHeaders,
167+ get_size,
166168 $,
167169 pupWebview,
168170 getProxyUrl,
@@ -192,6 +194,7 @@ export async function getSandbox(env = {}) {
192194 desX,
193195 req,
194196 reqs,
197+ toBeijingTime,
195198 _fetch,
196199 XMLHttpRequest,
197200 simplecc,
0 commit comments