starlight-cli 1.0.27 → 1.0.29
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/dist/index.js +2 -3
- package/package.json +1 -4
- package/src/starlight.js +2 -3
package/dist/index.js
CHANGED
|
@@ -2639,7 +2639,7 @@ const Lexer = __nccwpck_require__(211);
|
|
|
2639
2639
|
const Parser = __nccwpck_require__(222);
|
|
2640
2640
|
const Evaluator = __nccwpck_require__(112);
|
|
2641
2641
|
|
|
2642
|
-
const VERSION = '1.0.
|
|
2642
|
+
const VERSION = '1.0.28';
|
|
2643
2643
|
|
|
2644
2644
|
const COLOR = {
|
|
2645
2645
|
reset: '\x1b[0m',
|
|
@@ -2815,8 +2815,7 @@ function runFile(filePath, isTemp = false, callback) {
|
|
|
2815
2815
|
return waitAndExit(1);
|
|
2816
2816
|
}
|
|
2817
2817
|
|
|
2818
|
-
|
|
2819
|
-
|
|
2818
|
+
|
|
2820
2819
|
if (callback) callback();
|
|
2821
2820
|
if (isTemp) try { fs.unlinkSync(filePath); } catch {}
|
|
2822
2821
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.29",
|
|
4
4
|
"description": "Starlight Programming Language CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"starlight": "index.js"
|
|
@@ -11,9 +11,6 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Macedon",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"os": [
|
|
15
|
-
"win32"
|
|
16
|
-
],
|
|
17
14
|
"dependencies": {
|
|
18
15
|
"blessed": "^0.1.81",
|
|
19
16
|
"readline-sync": "^1.4.10"
|
package/src/starlight.js
CHANGED
|
@@ -9,7 +9,7 @@ const Lexer = require('./lexer');
|
|
|
9
9
|
const Parser = require('./parser');
|
|
10
10
|
const Evaluator = require('./evaluator');
|
|
11
11
|
|
|
12
|
-
const VERSION = '1.0.
|
|
12
|
+
const VERSION = '1.0.28';
|
|
13
13
|
|
|
14
14
|
const COLOR = {
|
|
15
15
|
reset: '\x1b[0m',
|
|
@@ -185,8 +185,7 @@ function runFile(filePath, isTemp = false, callback) {
|
|
|
185
185
|
return waitAndExit(1);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
|
|
190
189
|
if (callback) callback();
|
|
191
190
|
if (isTemp) try { fs.unlinkSync(filePath); } catch {}
|
|
192
191
|
}
|