functionalscript 0.6.8 → 0.6.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/README.md +2 -2
- package/bnf/data/module.f.d.ts +2 -0
- package/bnf/data/test.f.d.ts +1 -0
- package/bnf/data/test.f.js +11 -0
- package/bnf/module.f.d.ts +8 -0
- package/bnf/module.f.js +1 -1
- package/bnf/testlib.f.js +1 -0
- package/dev/module.f.d.ts +1 -1
- package/dev/module.f.js +7 -4
- package/djs/module.f.js +2 -1
- package/djs/parser/module.f.d.ts +7 -2
- package/djs/parser/module.f.js +80 -52
- package/djs/parser/test.f.d.ts +1 -0
- package/djs/parser/test.f.js +104 -76
- package/djs/tokenizer/module.f.d.ts +6 -2
- package/djs/tokenizer/module.f.js +12 -7
- package/djs/tokenizer/test.f.d.ts +1 -0
- package/djs/tokenizer/test.f.js +103 -87
- package/djs/transpiler/module.f.d.ts +3 -2
- package/djs/transpiler/module.f.js +3 -3
- package/djs/transpiler/test.f.js +2 -2
- package/io/module.js +5 -1
- package/issues/31-json.f.d.ts +1 -1
- package/issues/31-json.f.js +1 -1
- package/issues/demo/data/data.f.js +12 -0
- package/issues/demo/data/shared.f.js +3 -0
- package/issues/demo/fs/app.js +4 -0
- package/issues/demo/fs/math.f.js +4 -0
- package/issues/demo/test/test.f.js +13 -0
- package/js/tokenizer/module.f.d.ts +14 -2
- package/js/tokenizer/module.f.js +30 -17
- package/js/tokenizer/test.f.d.ts +1 -0
- package/js/tokenizer/test.f.js +159 -149
- package/json/parser/module.f.js +18 -9
- package/json/parser/test.f.js +16 -16
- package/json/tokenizer/module.f.d.ts +1 -1
- package/json/tokenizer/module.f.js +7 -6
- package/json/tokenizer/test.f.js +68 -68
- package/package.json +9 -11
package/package.json
CHANGED
|
@@ -1,22 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "functionalscript",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
7
7
|
"**/*.d.ts"
|
|
8
8
|
],
|
|
9
|
-
"description": "FunctionalScript is a functional subset of JavaScript",
|
|
9
|
+
"description": "FunctionalScript is a purely functional subset of JavaScript",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"
|
|
12
|
-
"n": "node --trace-uncaught",
|
|
13
|
-
"prepack": "npm run tsc-emit",
|
|
11
|
+
"prepack": "tsc --NoEmit false",
|
|
14
12
|
"git-clean": "git clean -xf",
|
|
15
|
-
"test20": "npm run
|
|
16
|
-
"test22": "tsc &&
|
|
17
|
-
"test": "tsc &&
|
|
18
|
-
"index": "
|
|
19
|
-
"fsc": "
|
|
13
|
+
"test20": "npm run prepack && node ./dev/test/module.js",
|
|
14
|
+
"test22": "tsc && node --experimental-strip-types ./dev/test/module.ts",
|
|
15
|
+
"test": "tsc && node ./dev/test/module.ts",
|
|
16
|
+
"index": "node ./dev/index/module.ts",
|
|
17
|
+
"fsc": "node ./fsc/module.ts",
|
|
20
18
|
"update": "npm run index && npm install"
|
|
21
19
|
},
|
|
22
20
|
"engines": {
|
|
@@ -46,7 +44,7 @@
|
|
|
46
44
|
},
|
|
47
45
|
"homepage": "https://github.com/functionalscript/functionalscript#readme",
|
|
48
46
|
"devDependencies": {
|
|
49
|
-
"@types/node": "^22.15.
|
|
47
|
+
"@types/node": "^22.15.30",
|
|
50
48
|
"typescript": "^5.8.3"
|
|
51
49
|
}
|
|
52
50
|
}
|