theprogrammablemind 7.3.5-beta.0 → 7.3.5-beta.10
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/client.js +5 -1
- package/package.json +34 -34
package/client.js
CHANGED
@@ -1519,7 +1519,11 @@ function where(goUp = 2) {
|
|
1519
1519
|
const regexForm2 = /at (.*):(\d+):(\d+)$/
|
1520
1520
|
const line = e.stack.split("\n")[goUp];
|
1521
1521
|
const match = regexForm1.exec(line) || regexForm2.exec(line);
|
1522
|
-
|
1522
|
+
if (match) {
|
1523
|
+
return `${match[1]}:${match[2]}`
|
1524
|
+
} else {
|
1525
|
+
return 'running in browser'
|
1526
|
+
}
|
1523
1527
|
}
|
1524
1528
|
|
1525
1529
|
function w(func) {
|
package/package.json
CHANGED
@@ -1,32 +1,23 @@
|
|
1
1
|
{
|
2
|
-
"
|
3
|
-
|
4
|
-
"
|
5
|
-
"
|
6
|
-
"
|
7
|
-
"
|
8
|
-
"
|
9
|
-
"
|
10
|
-
"
|
11
|
-
"underscore": "^1.13.1",
|
12
|
-
"node-fetch": "^2.6.1",
|
13
|
-
"lodash": "^4.17.20",
|
14
|
-
"json-stable-stringify": "^1.0.1",
|
15
|
-
"fs": "0.0.1-security"
|
2
|
+
"devDependencies": {
|
3
|
+
"eslint-plugin-import": "^2.23.4",
|
4
|
+
"jest": "^26.6.3",
|
5
|
+
"@typescript-eslint/parser": "^4.28.4",
|
6
|
+
"@typescript-eslint/eslint-plugin": "^4.28.4",
|
7
|
+
"eslint-plugin-node": "^11.1.0",
|
8
|
+
"eslint-config-standard": "^16.0.3",
|
9
|
+
"eslint-plugin-promise": "^5.1.0",
|
10
|
+
"eslint": "^7.31.0"
|
16
11
|
},
|
17
|
-
"main": "index.js",
|
18
|
-
"name": "theprogrammablemind",
|
19
|
-
"author": "dev@thinktelligence.com",
|
20
|
-
"license": "ISC",
|
21
12
|
"scripts": {
|
22
|
-
"
|
23
|
-
"tod": "node inspect node_modules/.bin/jest --runInBand -t NEO",
|
13
|
+
"to:debug": "node inspect node_modules/.bin/jest --runInBand -t NEO",
|
24
14
|
"test:debug": "node inspect node_modules/.bin/jest --runInBand --config ./jest.config.json",
|
25
|
-
"
|
26
|
-
"test:watch": "npm run test -- --watch",
|
15
|
+
"tod": "node inspect node_modules/.bin/jest --runInBand -t NEO",
|
27
16
|
"lint:fix": "eslint \"**/*.js\" --fix",
|
17
|
+
"lint": "eslint \"**/*.js\"",
|
28
18
|
"to": "node node_modules/.bin/jest --runInBand -t NEO",
|
29
|
-
"
|
19
|
+
"test": "jest --config ./jest.config.json",
|
20
|
+
"test:watch": "npm run test -- --watch"
|
30
21
|
},
|
31
22
|
"keywords": [
|
32
23
|
"NLP",
|
@@ -37,16 +28,8 @@
|
|
37
28
|
"natural language understanding",
|
38
29
|
"chatbot"
|
39
30
|
],
|
40
|
-
"
|
41
|
-
|
42
|
-
"eslint-plugin-promise": "^5.1.0",
|
43
|
-
"jest": "^26.6.3",
|
44
|
-
"eslint-plugin-node": "^11.1.0",
|
45
|
-
"eslint-config-standard": "^16.0.3",
|
46
|
-
"@typescript-eslint/parser": "^4.28.4",
|
47
|
-
"@typescript-eslint/eslint-plugin": "^4.28.4",
|
48
|
-
"eslint-plugin-import": "^2.23.4"
|
49
|
-
},
|
31
|
+
"main": "index.js",
|
32
|
+
"name": "theprogrammablemind",
|
50
33
|
"files": [
|
51
34
|
"client.js",
|
52
35
|
"index.js",
|
@@ -61,5 +44,22 @@
|
|
61
44
|
"src/digraph.js",
|
62
45
|
"src/generators.js",
|
63
46
|
"src/semantics.js"
|
64
|
-
]
|
47
|
+
],
|
48
|
+
"author": "dev@thinktelligence.com",
|
49
|
+
"dependencies": {
|
50
|
+
"deep-equal": "^2.0.4",
|
51
|
+
"uuid": "^8.3.2",
|
52
|
+
"json-diff": "^1.0.3",
|
53
|
+
"lodash": "^4.17.20",
|
54
|
+
"fs": "0.0.1-security",
|
55
|
+
"base-64": "^1.0.0",
|
56
|
+
"sort-json": "^2.0.0",
|
57
|
+
"readline": "^1.3.0",
|
58
|
+
"scriptjs": "^2.5.9",
|
59
|
+
"underscore": "^1.13.1",
|
60
|
+
"json-stable-stringify": "^1.0.1",
|
61
|
+
"node-fetch": "^2.6.1"
|
62
|
+
},
|
63
|
+
"version": "7.3.5-beta.10",
|
64
|
+
"license": "ISC"
|
65
65
|
}
|