@ldsg/utils 0.3.37 → 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.
- package/dist/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +6 -6
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.
|
|
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/apaas-constants": "0.3.
|
|
40
|
-
"@ldsg/constants": "0.3.
|
|
41
|
-
"@ldsg/core": "0.3.
|
|
42
|
-
"@ldsg/
|
|
43
|
-
"@ldsg/
|
|
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",
|