@dallaylaen/ski-interpreter 2.6.0 → 2.6.2

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.
@@ -707,6 +707,7 @@ export declare class Alias extends Named {
707
707
  maxArgs?: number;
708
708
  note?: string;
709
709
  inline?: boolean;
710
+ arity?: number;
710
711
  });
711
712
  /**
712
713
  * @desc Make the alias inline, i.e. replace it with its implementation everywhere.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dallaylaen/ski-interpreter",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Simple Kombinator Interpreter - a combinatory logic & lambda calculus parser and interpreter. Supports SKI, BCKW, Church numerals, and setting up assertions ('quests') involving all of the above.",
5
5
  "keywords": [
6
6
  "combinatory logic",
@@ -11,10 +11,10 @@
11
11
  ],
12
12
  "type": "commonjs",
13
13
  "main": "lib/ski-interpreter.cjs.js",
14
- "types": "lib/types/index.d.ts",
15
- "module": "lib/ski-interpreter.esm.js",
14
+ "module": "lib/ski-interpreter.mjs",
16
15
  "exports": {
17
- "import": "./lib/ski-interpreter.esm.js",
16
+ "types": "./lib/types/index.d.ts",
17
+ "import": "./lib/ski-interpreter.mjs",
18
18
  "require": "./lib/ski-interpreter.cjs.js"
19
19
  },
20
20
  "bin": {
@@ -26,7 +26,7 @@
26
26
  "test": "npm run tsc; npx nyc mocha --recursive test",
27
27
  "build-web": "npx esbuild --bundle --minify --sourcemap --format=iife ./src/index.ts --outfile=docs/build/js/ski-interpreter.min.js",
28
28
  "build-cjs": "npx esbuild --bundle --sourcemap --format=cjs ./src/index.ts --outfile=lib/ski-interpreter.cjs.js",
29
- "build-esm": "npx esbuild --bundle --sourcemap --format=esm ./src/index.ts --outfile=lib/ski-interpreter.esm.js",
29
+ "build-esm": "npx esbuild --bundle --sourcemap --format=esm ./src/index.ts --outfile=lib/ski-interpreter.mjs",
30
30
  "build-site": "npx esbuild --bundle --minify --sourcemap ./site-src/index.js --outfile=docs/build/js/util.min.js",
31
31
  "build-quest": "npx esbuild --bundle --minify --sourcemap --format=iife ./site-src/index-quest.js --outfile=docs/build/js/ski-quest.min.js",
32
32
  "build-all": "npm run build-cjs && npm run build-esm && npm run build-web && npm run build-site && npm run build-quest",