@witchcraft/expressit 0.3.1 → 0.4.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.
@@ -1,4 +1,4 @@
1
- const version = "0.3.1";
1
+ const version = "0.4.0";
2
2
  const repository = "https://github.com/witchcraftjs/expressit";
3
3
  const packageJson = {
4
4
  version,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@witchcraft/expressit",
3
3
  "description": "A blazing fast, customizable, error-tolerant expression parser that creates safe to eval expressions + a few other goodies like autocomplete.",
4
- "version": "0.3.1",
4
+ "version": "0.4.0",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -16,44 +16,32 @@
16
16
  "import": "./dist/ast/index.js"
17
17
  },
18
18
  "./ast/*": {
19
- "types": "./dist/ast/*",
20
- "import": "./dist/ast/*"
21
- },
22
- "./internal": {
23
- "types": "./dist/internal/index.d.ts",
24
- "import": "./dist/internal/index.js"
19
+ "types": "./dist/ast/*.d.ts",
20
+ "import": "./dist/ast/*.js"
25
21
  },
26
22
  "./internal/*": {
27
- "types": "./dist/internal/*",
28
- "import": "./dist/internal/*"
29
- },
30
- "./methods": {
31
- "types": "./dist/methods/index.d.ts",
32
- "import": "./dist/methods/index.js"
33
- },
34
- "./methods/*": {
35
- "types": "./dist/methods/*",
36
- "import": "./dist/methods/*"
23
+ "types": "./dist/internal/*.d.ts",
24
+ "import": "./dist/internal/*.js"
37
25
  },
38
26
  "./utils": {
39
27
  "types": "./dist/utils/index.d.ts",
40
28
  "import": "./dist/utils/index.js"
41
29
  },
42
30
  "./utils/*": {
43
- "types": "./dist/utils/*",
44
- "import": "./dist/utils/*"
31
+ "types": "./dist/utils/*.d.ts",
32
+ "import": "./dist/utils/*.js"
45
33
  },
46
34
  "./examples": {
47
35
  "types": "./dist/examples/index.d.ts",
48
36
  "import": "./dist/examples/index.js"
49
37
  },
50
38
  "./examples/*": {
51
- "types": "./dist/examples/*",
52
- "import": "./dist/examples/*"
39
+ "types": "./dist/examples/*.d.ts",
40
+ "import": "./dist/examples/*.js"
53
41
  },
54
42
  "./*": {
55
- "types": "./dist/types/*",
56
- "import": "./dist/types/*"
43
+ "types": "./dist/types/*.d.ts",
44
+ "import": "./dist/types/*.js"
57
45
  }
58
46
  },
59
47
  "scripts": {