runner-runtime 1.0.82 → 1.0.84

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/events/api.js CHANGED
@@ -26,7 +26,7 @@ const runtime = require("postman-runtime-pro");
26
26
  // 将api转postman请求参数
27
27
  const convert2PostmanRequest = (request, option) => {
28
28
  const pmRequest = {};
29
- const { systemConfigs } = _.get(option, 'system_configs', {});
29
+ const systemConfigs = _.get(option, 'system_configs', {});
30
30
 
31
31
  // 自动识别请求参数的Mock变量
32
32
  const autoReplaceMockVar = (para) => {
@@ -1422,7 +1422,7 @@ const convert2PostmanEvent = (request, listen, option) => {
1422
1422
  !(function(){
1423
1423
  let pickVars = ${JSON.stringify(varItem)};
1424
1424
  try{
1425
- pm[${JSON.stringify(varTypeMap[varItem?.type])}].set(_.get(pickVars,"name"), varSource.get(_.trim(_.get(pickVars,"expression"))));
1425
+ pm[${JSON.stringify(varTypeMap[varItem?.type])}].set(_.get(pickVars,"name"), _.get(varSource, lodashv4.toLower(_.trim(_.get(pickVars,"expression")))));
1426
1426
  }catch(e){}
1427
1427
  })();
1428
1428
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "runner-runtime",
3
- "version": "1.0.82",
3
+ "version": "1.0.84",
4
4
  "description": "runner-runtime.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -37,7 +37,7 @@
37
37
  "mime": "^3.0.0",
38
38
  "minimatch": "^9.0.4",
39
39
  "mockjs5-pro": "^1.0.6",
40
- "json-schema-faker-pro": "^0.5.29",
40
+ "json-schema-faker-pro": "^0.5.30",
41
41
  "exp-mock": "^2.0.17",
42
42
  "msgpack5": "^6.0.2",
43
43
  "net": "^1.0.2",