Skip to content

Commit 0f6a9ae

Browse files
author
Taois
committed
feat: fs-extra
1 parent 5b51afc commit 0f6a9ae

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

drpy-node-bundle/libs/localDsCore.bundled.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8201,10 +8201,7 @@ var require_node_rsa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82018201
function f(t) {
82028202
var e = a, r = t || {};
82038203
n.ok(e), n.equal(typeof e, "object"), n.ok(r), n.equal(typeof r, "object"), Object.getOwnPropertyNames(e).forEach((function(t) {
8204-
if (!r[t]) {
8205-
var n = Object.getOwnPropertyDescriptor(e, t);
8206-
Object.defineProperty(r, t, n);
8207-
}
8204+
if (!r[t]) Object.defineProperty(r, t, Object.getOwnPropertyDescriptor(e, t));
82088205
})), t = r, this._buf = i.alloc(t.size || 1024), this._size = this._buf.length, this._offset = 0, this._options = t, this._seq = [];
82098206
}
82108207
Object.defineProperty(f.prototype, "buffer", { get: function() {
@@ -386480,8 +386477,7 @@ async function commonSearchListParse(moduleObject, method, injectVars, args) {
386480386477
let params = rurls.length > 1 ? rurls[1] : "";
386481386478
log(`[commonSearchListParse] post=》rurl:${rurl},params:${params}`);
386482386479
let _fetch_params = deepCopy$1(rule_fetch_params);
386483-
let postData = { body: params };
386484-
Object.assign(_fetch_params, postData);
386480+
Object.assign(_fetch_params, { body: params });
386485386481
html = await post(rurl, _fetch_params);
386486386482
} else if (req_method === "postjson") {
386487386483
let rurls = MY_URL.split(";")[0].split("#");
@@ -386494,8 +386490,7 @@ async function commonSearchListParse(moduleObject, method, injectVars, args) {
386494386490
params = "{}";
386495386491
}
386496386492
let _fetch_params = deepCopy$1(rule_fetch_params);
386497-
let postData = { body: params };
386498-
Object.assign(_fetch_params, postData);
386493+
Object.assign(_fetch_params, { body: params });
386499386494
html = await post(rurl, _fetch_params);
386500386495
} else html = await executeSandboxFunction("getHtml", [sandboxString(MY_URL)], moduleObject.context, "获取HTML异常", "");
386501386496
if (html) {

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"fastify": "^4.15.0",
5353
"fastq": "^1.17.1",
5454
"form-data": "^4.0.4",
55+
"fs-extra": "^11.3.4",
5556
"google-protobuf": "^3.21.4",
5657
"https-proxy-agent": "^7.0.6",
5758
"iconv-lite": "^0.6.3",

0 commit comments

Comments
 (0)