theprogrammablemind 7.2.0 → 7.2.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.
package/package.json CHANGED
@@ -1,31 +1,29 @@
1
1
  {
2
- "version": "7.2.0",
2
+ "license": "ISC",
3
+ "name": "theprogrammablemind",
4
+ "author": "dev@thinktelligence.com",
5
+ "scripts": {
6
+ "test:watch": "npm run test -- --watch",
7
+ "to:debug": "node inspect node_modules/.bin/jest --runInBand -t NEO",
8
+ "test": "jest --config ./jest.config.json",
9
+ "tod": "node inspect node_modules/.bin/jest --runInBand -t NEO",
10
+ "lint:fix": "eslint \"**/*.js\" --fix",
11
+ "lint": "eslint \"**/*.js\"",
12
+ "to": "node node_modules/.bin/jest --runInBand -t NEO",
13
+ "test:debug": "node inspect node_modules/.bin/jest --runInBand --config ./jest.config.json"
14
+ },
3
15
  "devDependencies": {
16
+ "eslint-config-standard": "^16.0.3",
4
17
  "@typescript-eslint/eslint-plugin": "^4.28.4",
5
18
  "eslint-plugin-import": "^2.23.4",
6
- "eslint-plugin-node": "^11.1.0",
7
19
  "jest": "^26.6.3",
8
20
  "@typescript-eslint/parser": "^4.28.4",
9
- "eslint-config-standard": "^16.0.3",
21
+ "eslint-plugin-promise": "^5.1.0",
10
22
  "eslint": "^7.31.0",
11
- "eslint-plugin-promise": "^5.1.0"
12
- },
13
- "author": "dev@thinktelligence.com",
14
- "name": "theprogrammablemind",
15
- "dependencies": {
16
- "fs": "0.0.1-security",
17
- "lodash": "^4.17.20",
18
- "readline": "^1.3.0",
19
- "underscore": "^1.13.1",
20
- "json-diff": "^1.0.3",
21
- "node-fetch": "^2.6.1",
22
- "base-64": "^1.0.0",
23
- "deep-equal": "^2.0.4",
24
- "uuid": "^8.3.2",
25
- "json-stable-stringify": "^1.0.1",
26
- "scriptjs": "^2.5.9",
27
- "sort-json": "^2.0.0"
23
+ "eslint-plugin-node": "^11.1.0"
28
24
  },
25
+ "version": "7.2.2",
26
+ "main": "index.js",
29
27
  "files": [
30
28
  "client.js",
31
29
  "index.js",
@@ -48,16 +46,18 @@
48
46
  "natural language understanding",
49
47
  "chatbot"
50
48
  ],
51
- "main": "index.js",
52
- "license": "ISC",
53
- "scripts": {
54
- "lint": "eslint \"**/*.js\"",
55
- "tod": "node inspect node_modules/.bin/jest --runInBand -t NEO",
56
- "to:debug": "node inspect node_modules/.bin/jest --runInBand -t NEO",
57
- "test:debug": "node inspect node_modules/.bin/jest --runInBand --config ./jest.config.json",
58
- "test": "jest --config ./jest.config.json",
59
- "lint:fix": "eslint \"**/*.js\" --fix",
60
- "test:watch": "npm run test -- --watch",
61
- "to": "node node_modules/.bin/jest --runInBand -t NEO"
49
+ "dependencies": {
50
+ "base-64": "^1.0.0",
51
+ "json-stable-stringify": "^1.0.1",
52
+ "json-diff": "^1.0.3",
53
+ "scriptjs": "^2.5.9",
54
+ "deep-equal": "^2.0.4",
55
+ "underscore": "^1.13.1",
56
+ "readline": "^1.3.0",
57
+ "sort-json": "^2.0.0",
58
+ "lodash": "^4.17.20",
59
+ "node-fetch": "^2.6.1",
60
+ "fs": "0.0.1-security",
61
+ "uuid": "^8.3.2"
62
62
  }
63
63
  }
package/src/generators.js CHANGED
@@ -269,6 +269,9 @@ class Generators {
269
269
  lines.setElement(0, 0, 'Generator')
270
270
  lines.setElement(0, 2, 'No generator applied')
271
271
  lines.newRow()
272
+ lines.setElement(0, 1, 'STACK')
273
+ lines.setElement(0, 2, stack)
274
+ lines.newRow()
272
275
  lines.setElement(0, 1, 'TO')
273
276
  lines.setElement(0, 2, JSON.stringify(context, null, 2))
274
277
  this.logs.push(lines.toString())
package/src/semantics.js CHANGED
@@ -263,6 +263,9 @@ class Semantics {
263
263
  lines.setElement(0, 0, 'Semantic')
264
264
  lines.setElement(0, 2, 'No semantic applied')
265
265
  lines.newRow()
266
+ lines.setElement(0, 1, 'STACK')
267
+ lines.setElement(0, 2, stack)
268
+ lines.newRow()
266
269
  lines.setElement(0, 1, 'TO')
267
270
  lines.setElement(0, 2, `(HASHCODE ${helpers.hashCode(JSON.stringify(sortJson(context, { depth: 25 })))})`)
268
271
  lines.setElement(1, 2, JSON.stringify(sortJson(context, { depth: 25 }), null, 2))