@anjianshi/utils 3.0.1 → 3.0.2

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/safe-request.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anjianshi/utils",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Common JavaScript Utils",
5
5
  "homepage": "https://github.com/anjianshi/js-packages/utils",
6
6
  "bugs": {
@@ -32,8 +32,8 @@
32
32
  "typescript": "^5.8.3",
33
33
  "vconsole": "^3.15.1",
34
34
  "@anjianshi/presets-eslint-base": "6.0.0",
35
- "@anjianshi/presets-eslint-node": "6.0.0",
36
35
  "@anjianshi/presets-eslint-react": "6.0.0",
36
+ "@anjianshi/presets-eslint-node": "6.0.0",
37
37
  "@anjianshi/presets-eslint-typescript": "6.0.0",
38
38
  "@anjianshi/presets-prettier": "3.0.5",
39
39
  "@anjianshi/presets-typescript": "3.2.5"
package/safe-request.js CHANGED
@@ -105,7 +105,7 @@ export class SafeRequestClient {
105
105
  if (result.success)
106
106
  return result;
107
107
  }
108
- result = (await handleException(response.arrayBuffer()));
108
+ result = (await handleException(response.blob()));
109
109
  return result;
110
110
  }
111
111
  /** 若请求未成功发起,会触发此回调来生成失败信息 */