@thi.ng/parse 2.6.42 → 2.6.43
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/grammar.js +2 -2
- package/package.json +9 -8
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 214 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
@@ -103,7 +103,7 @@ For Node.js REPL:
|
|
|
103
103
|
const parse = await import("@thi.ng/parse");
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
Package sizes (brotli'd, pre-treeshake): ESM: 5.
|
|
106
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 5.41 KB
|
|
107
107
|
|
|
108
108
|
## Dependencies
|
|
109
109
|
|
package/grammar.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DEFAULT, defmulti } from "@thi.ng/defmulti/defmulti";
|
|
2
2
|
import { illegalArgs } from "@thi.ng/errors/illegal-arguments";
|
|
3
|
-
import {
|
|
3
|
+
import { unsupportedOp } from "@thi.ng/errors/unsupported";
|
|
4
4
|
import { alt, altD } from "./combinators/alt.js";
|
|
5
5
|
import { dynamic } from "./combinators/dynamic.js";
|
|
6
6
|
import { lookahead } from "./combinators/lookahead.js";
|
|
@@ -136,7 +136,7 @@ const __compile = defmulti(
|
|
|
136
136
|
unicode: "char"
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
|
-
[DEFAULT]: ($) =>
|
|
139
|
+
[DEFAULT]: ($) => unsupportedOp($.id),
|
|
140
140
|
root: ($, lang, opts, flags) => {
|
|
141
141
|
const rules = __first($).children;
|
|
142
142
|
const builtins = new Set(Object.keys(lang.rules));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/parse",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.43",
|
|
4
4
|
"description": "Purely functional parser combinators & AST generation for generic inputs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/thi-ng/umbrella.git"
|
|
11
|
+
"url": "git+https://github.com/thi-ng/umbrella.git",
|
|
12
|
+
"directory": "packages/parse"
|
|
12
13
|
},
|
|
13
14
|
"homepage": "https://thi.ng/parse",
|
|
14
15
|
"funding": [
|
|
@@ -39,11 +40,11 @@
|
|
|
39
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.12.
|
|
43
|
-
"@thi.ng/checks": "^3.8.
|
|
44
|
-
"@thi.ng/defmulti": "^3.0.
|
|
45
|
-
"@thi.ng/errors": "^2.6.
|
|
46
|
-
"@thi.ng/strings": "^3.9.
|
|
43
|
+
"@thi.ng/api": "^8.12.14",
|
|
44
|
+
"@thi.ng/checks": "^3.8.4",
|
|
45
|
+
"@thi.ng/defmulti": "^3.0.90",
|
|
46
|
+
"@thi.ng/errors": "^2.6.3",
|
|
47
|
+
"@thi.ng/strings": "^3.9.35"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"esbuild": "^0.27.2",
|
|
@@ -246,5 +247,5 @@
|
|
|
246
247
|
],
|
|
247
248
|
"year": 2020
|
|
248
249
|
},
|
|
249
|
-
"gitHead": "
|
|
250
|
+
"gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
|
|
250
251
|
}
|