theprogrammablemind_4wp 7.5.8-beta.7 → 7.5.8-beta.71
Sign up to get free protection for your applications and to get access to all the features.
- package/client.js +299 -243
- package/index.js +1 -0
- package/lines.js +2 -2
- package/package.json +2 -1
- package/runtime.js +3 -1
- package/src/config.js +543 -251
- package/src/flatten.js +9 -1
- package/src/helpers.js +3 -1
- package/src/project.js +42 -0
- package/src/semantics.js +6 -1
package/index.js
CHANGED
package/lines.js
CHANGED
@@ -10,12 +10,12 @@ class Lines {
|
|
10
10
|
}
|
11
11
|
|
12
12
|
// will wrap to next line within the column
|
13
|
-
setElement (row, column, value) {
|
13
|
+
setElement (row, column, value, fullWidth = false) {
|
14
14
|
const values = value.toString().split('\n')
|
15
15
|
if (column >= this.widths.length) {
|
16
16
|
throw new Error("Column out of range.")
|
17
17
|
}
|
18
|
-
const width = this.widths[column]
|
18
|
+
const width = fullWidth ? value.length: this.widths[column]
|
19
19
|
let index = 0
|
20
20
|
for (value of values) {
|
21
21
|
while (value.length > 0) {
|
package/package.json
CHANGED
@@ -46,6 +46,7 @@
|
|
46
46
|
"src/digraph.js",
|
47
47
|
"src/digraph_internal.js",
|
48
48
|
"src/generators.js",
|
49
|
+
"src/project.js",
|
49
50
|
"src/semantics.js"
|
50
51
|
],
|
51
52
|
"author": "dev@thinktelligence.com",
|
@@ -63,6 +64,6 @@
|
|
63
64
|
"json-stable-stringify": "^1.0.1",
|
64
65
|
"node-fetch": "^2.6.1"
|
65
66
|
},
|
66
|
-
"version": "7.5.8-beta.
|
67
|
+
"version": "7.5.8-beta.71",
|
67
68
|
"license": "ISC"
|
68
69
|
}
|
package/runtime.js
CHANGED
@@ -6,7 +6,9 @@ module.exports = {
|
|
6
6
|
stdout: "Should not be called in the browser",
|
7
7
|
},
|
8
8
|
child_process: "Should not be called in the browser",
|
9
|
-
fs:
|
9
|
+
fs: {
|
10
|
+
existsSync: () => false,
|
11
|
+
},
|
10
12
|
ArgumentParser: "Should not be called in the browser",
|
11
13
|
readline: "Should not be called in the browser",
|
12
14
|
jsonDiff: "Should not be called in the browser",
|