@ldsg/utils 0.3.36 → 0.3.38

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.
@@ -3,6 +3,10 @@ interface GetHandlerPackageJsonParams {
3
3
  packageJson: PackageJson;
4
4
  moduleName: string;
5
5
  dependencies: HandlerResourceDependency[];
6
+ /**
7
+ * 从主应用中复用的依赖
8
+ * 不会在 handler 模块依赖中安装
9
+ */
6
10
  reuseMainAppDependencies: string[];
7
11
  }
8
12
  export interface PackageJson {
package/dist/index.cjs CHANGED
@@ -258,7 +258,8 @@ var external_jsonata_default = /*#__PURE__*/ __webpack_require__.n(external_json
258
258
  const readSourceData = async (uri)=>{
259
259
  if (external_lodash_default().startsWith(uri, "http")) {
260
260
  const axiosRes = await external_axios_default()({
261
- url: uri
261
+ url: uri,
262
+ timeout: 60000
262
263
  });
263
264
  return axiosRes.data;
264
265
  }
package/dist/index.js CHANGED
@@ -196,7 +196,8 @@ const extendAppDataWithPath = async (params)=>{
196
196
  const readSourceData = async (uri)=>{
197
197
  if (lodash.startsWith(uri, "http")) {
198
198
  const axiosRes = await axios({
199
- url: uri
199
+ url: uri,
200
+ timeout: 60000
200
201
  });
201
202
  return axiosRes.data;
202
203
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/utils",
3
- "version": "0.3.36",
3
+ "version": "0.3.38",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "wanxger",
@@ -36,11 +36,11 @@
36
36
  "jsonata": "2.2.2",
37
37
  "jszip": "^3.10.1",
38
38
  "lodash": "^4.17.21",
39
- "@ldsg/constants": "0.3.36",
40
- "@ldsg/apaas-constants": "0.3.36",
41
- "@ldsg/core": "0.3.36",
42
- "@ldsg/types": "0.3.36",
43
- "@ldsg/handler": "0.3.36"
39
+ "@ldsg/apaas-constants": "0.3.38",
40
+ "@ldsg/constants": "0.3.38",
41
+ "@ldsg/core": "0.3.38",
42
+ "@ldsg/handler": "0.3.38",
43
+ "@ldsg/types": "0.3.38"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@rslib/core": "^0.17.1",