funcity 0.7.0 → 0.9.0
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.cjs +18 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +870 -12
- package/dist/index.mjs +18 -4
- package/dist/index.mjs.map +1 -1
- package/dist/node.cjs +26 -3
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.ts +334 -4
- package/dist/node.mjs +26 -3
- package/dist/node.mjs.map +1 -1
- package/package.json +8 -8
- package/dist/index.d.ts.map +0 -1
- package/dist/node.d.ts.map +0 -1
- package/dist/parser.d.ts +0 -46
- package/dist/parser.d.ts.map +0 -1
- package/dist/reducer.d.ts +0 -43
- package/dist/reducer.d.ts.map +0 -1
- package/dist/scripting.d.ts +0 -28
- package/dist/scripting.d.ts.map +0 -1
- package/dist/tokenizer.d.ts +0 -26
- package/dist/tokenizer.d.ts.map +0 -1
- package/dist/types.d.ts +0 -568
- package/dist/types.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -78
- package/dist/utils.d.ts.map +0 -1
- package/dist/variables/fetch-variables.d.ts +0 -26
- package/dist/variables/fetch-variables.d.ts.map +0 -1
- package/dist/variables/nodejs-variables.d.ts +0 -26
- package/dist/variables/nodejs-variables.d.ts.map +0 -1
- package/dist/variables/object-variables.d.ts +0 -23
- package/dist/variables/object-variables.d.ts.map +0 -1
- package/dist/variables/standard-variables.d.ts +0 -73
- package/dist/variables/standard-variables.d.ts.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* name: funcity
|
|
3
|
-
* version: 0.
|
|
3
|
+
* version: 0.9.0
|
|
4
4
|
* description: A functional language interpreter with text processing
|
|
5
5
|
* author: Kouji Matsui (@kekyo@mi.kekyo.net)
|
|
6
6
|
* license: MIT
|
|
7
7
|
* repository.url: https://github.com/kekyo/funcity
|
|
8
|
-
* git.commit.hash:
|
|
8
|
+
* git.commit.hash: 44d20b9861b32b8f70452b8a5bd2a39e3484ba26
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
"use strict";
|
|
@@ -2455,12 +2455,26 @@ const runScriptOnceToText = async (script, props, signal) => {
|
|
|
2455
2455
|
};
|
|
2456
2456
|
const objectVariables = Object.freeze({
|
|
2457
2457
|
Object,
|
|
2458
|
+
Function,
|
|
2458
2459
|
Array,
|
|
2459
2460
|
String,
|
|
2460
2461
|
Number,
|
|
2461
|
-
|
|
2462
|
+
BigInt,
|
|
2463
|
+
Boolean,
|
|
2464
|
+
Symbol,
|
|
2462
2465
|
Math,
|
|
2463
|
-
|
|
2466
|
+
ArrayBuffer,
|
|
2467
|
+
Date,
|
|
2468
|
+
Intl,
|
|
2469
|
+
JSON,
|
|
2470
|
+
Map,
|
|
2471
|
+
Set,
|
|
2472
|
+
Promise,
|
|
2473
|
+
RegExp,
|
|
2474
|
+
WeakMap,
|
|
2475
|
+
WeakSet,
|
|
2476
|
+
Reflect,
|
|
2477
|
+
Error
|
|
2464
2478
|
});
|
|
2465
2479
|
const getFetch = () => {
|
|
2466
2480
|
const fetchFn = globalThis.fetch;
|