@soga/fetcher 0.2.50 → 0.2.52

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.
@@ -97,8 +97,6 @@ class AliFetcher {
97
97
  return res.data;
98
98
  }
99
99
  catch (err) {
100
- console.log('-------------------------------');
101
- console.log(err.name, err.message);
102
100
  if (err.name === 'AbortError')
103
101
  return;
104
102
  const key = this.getKey({ access_token, file_id, ua });
@@ -208,8 +208,6 @@ class BaiduFetcher {
208
208
  return res.data;
209
209
  }
210
210
  catch (err) {
211
- console.log('-------------------------------');
212
- console.log(err.name, err.message);
213
211
  if (err.name === 'AbortError')
214
212
  return;
215
213
  const key = this.getKey({ fs_id, access_token, ua });
@@ -6,10 +6,8 @@ const fetch_buffer_1 = require("./fetch-buffer");
6
6
  const low_store_1 = require("../common/low-store");
7
7
  const entities_1 = require("@soga/entities");
8
8
  const getBaiduBuffer = async ({ dataSource, record_id, start, end, total, part_md5, access_token, host_id, host_vip_type, fs_id, cache_folder, abort_controller, }, cache_type) => {
9
- console.log('yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy');
10
9
  const rep = dataSource.getRepository(entities_1.FetchUrl);
11
10
  const data = await rep.find({});
12
- console.log('data length xxxxxxxx:', data.length);
13
11
  let store = null;
14
12
  const key = (0, common_1.getKey)({ part_md5, start, end });
15
13
  if (cache_folder) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soga/fetcher",
3
- "version": "0.2.50",
3
+ "version": "0.2.52",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -47,11 +47,11 @@
47
47
  "dependencies": {
48
48
  "@soga/baidu-ua": "^0.2.48",
49
49
  "@soga/bridge": "^0.2.48",
50
- "@soga/entities": "^0.2.50"
50
+ "@soga/entities": "^0.2.52"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "axios": "*",
54
54
  "typeorm": "*"
55
55
  },
56
- "gitHead": "bf969a3ceba467dd4f6b98bd21fbd4b507c3f303"
56
+ "gitHead": "0f6d0553a2822704282a5ae8d1fbfe7d3decea0f"
57
57
  }