botium-core 1.12.3 → 1.12.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botium-core",
3
- "version": "1.12.3",
3
+ "version": "1.12.4",
4
4
  "description": "The Selenium for Chatbots",
5
5
  "main": "index.js",
6
6
  "module": "dist/botium-es.js",
@@ -32,15 +32,15 @@
32
32
  },
33
33
  "homepage": "https://www.botium.ai",
34
34
  "dependencies": {
35
- "@babel/runtime": "^7.17.2",
35
+ "@babel/runtime": "^7.17.8",
36
36
  "async": "^3.2.3",
37
- "body-parser": "^1.19.1",
38
- "boolean": "^3.1.4",
37
+ "body-parser": "^1.19.2",
38
+ "boolean": "^3.2.0",
39
39
  "bottleneck": "^2.19.5",
40
40
  "csv-parse": "^5.0.4",
41
- "debug": "^4.3.3",
41
+ "debug": "^4.3.4",
42
42
  "esprima": "^4.0.1",
43
- "express": "^4.17.2",
43
+ "express": "^4.17.3",
44
44
  "globby": "11.0.4",
45
45
  "ioredis": "^4.28.5",
46
46
  "is-class": "^0.0.9",
@@ -48,7 +48,7 @@
48
48
  "jsonpath": "^1.1.1",
49
49
  "lodash": "^4.17.21",
50
50
  "markdown-it": "^12.3.2",
51
- "mime-types": "^2.1.34",
51
+ "mime-types": "^2.1.35",
52
52
  "mkdirp": "^1.0.4",
53
53
  "moment": "^2.29.1",
54
54
  "mustache": "^4.2.0",
@@ -65,21 +65,21 @@
65
65
  "swagger-jsdoc": "^6.1.0",
66
66
  "swagger-ui-express": "^4.3.0",
67
67
  "uuid": "^8.3.2",
68
- "vm2": "^3.9.7",
68
+ "vm2": "^3.9.9",
69
69
  "write-yaml": "^1.0.0",
70
- "xlsx": "^0.18.2",
70
+ "xlsx": "^0.18.4",
71
71
  "xregexp": "^5.1.0",
72
72
  "yaml": "^1.10.2"
73
73
  },
74
74
  "devDependencies": {
75
- "@babel/core": "^7.17.2",
75
+ "@babel/core": "^7.17.8",
76
76
  "@babel/node": "^7.16.8",
77
77
  "@babel/plugin-transform-runtime": "^7.17.0",
78
78
  "@babel/preset-env": "^7.16.11",
79
79
  "chai": "^4.3.6",
80
80
  "chai-as-promised": "^7.1.1",
81
81
  "cross-env": "^7.0.3",
82
- "eslint": "^8.9.0",
82
+ "eslint": "^8.11.0",
83
83
  "eslint-config-standard": "^16.0.3",
84
84
  "eslint-plugin-import": "^2.25.4",
85
85
  "eslint-plugin-node": "^11.1.0",
@@ -87,11 +87,11 @@
87
87
  "eslint-plugin-standard": "^4.1.0",
88
88
  "license-checker": "^25.0.1",
89
89
  "license-compatibility-checker": "^0.3.5",
90
- "mocha": "^9.2.0",
90
+ "mocha": "^9.2.2",
91
91
  "nock": "^13.2.4",
92
- "npm-check-updates": "^12.3.0",
92
+ "npm-check-updates": "^12.5.4",
93
93
  "nyc": "^15.1.0",
94
- "rollup": "^2.67.2",
94
+ "rollup": "^2.70.1",
95
95
  "rollup-plugin-babel": "^4.4.0",
96
96
  "rollup-plugin-commonjs": "^10.1.0",
97
97
  "rollup-plugin-json": "^4.0.0",
@@ -307,9 +307,9 @@ class Convo {
307
307
  transcriptStep.actual = meMsg
308
308
 
309
309
  try {
310
- await this.scriptingEvents.setUserInput({ convo: this, convoStep, container, scriptingMemory, meMsg, transcript, transcriptStep })
311
- await this.scriptingEvents.onMeStart({ convo: this, convoStep, container, scriptingMemory, meMsg, transcript, transcriptStep })
312
- await this.scriptingEvents.onMePrepare({ convo: this, convoStep, container, scriptingMemory, meMsg, transcript, transcriptStep })
310
+ await this.scriptingEvents.setUserInput({ convo: this, convoStep, container, scriptingMemory, meMsg, transcript, transcriptStep, transcriptSteps })
311
+ await this.scriptingEvents.onMeStart({ convo: this, convoStep, container, scriptingMemory, meMsg, transcript, transcriptStep, transcriptSteps })
312
+ await this.scriptingEvents.onMePrepare({ convo: this, convoStep, container, scriptingMemory, meMsg, transcript, transcriptStep, transcriptSteps })
313
313
 
314
314
  await this._checkBotRepliesConsumed(container)
315
315
 
@@ -69,7 +69,7 @@ describe('logichooks.hookfromsrc', function () {
69
69
  await compiler.convos[0].Run(container)
70
70
  assert.fail('it should have failed')
71
71
  } catch (err) {
72
- assert.isTrue(err.message.includes('Line 6: assertion error - Unexpected token'))
72
+ assert.isTrue(err.message.includes('Line 6: assertion error - Unexpected end of input'))
73
73
  }
74
74
  })
75
75
  })