tree-sitter-beancount 2.5.0 → 2.5.1
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/grammar.js +1 -1
- package/package.json +4 -4
- package/prebuilds/darwin-arm64/tree-sitter-beancount.node +0 -0
- package/prebuilds/darwin-x64/tree-sitter-beancount.node +0 -0
- package/prebuilds/linux-arm64/tree-sitter-beancount.node +0 -0
- package/prebuilds/linux-x64/tree-sitter-beancount.node +0 -0
- package/prebuilds/win32-arm64/tree-sitter-beancount.node +0 -0
- package/prebuilds/win32-x64/tree-sitter-beancount.node +0 -0
- package/src/grammar.json +1 -1
- package/src/parser.c +1278 -2609
package/grammar.js
CHANGED
|
@@ -97,7 +97,7 @@ module.exports = grammar({
|
|
|
97
97
|
),
|
|
98
98
|
),
|
|
99
99
|
),
|
|
100
|
-
currency: $ => token(/[A-Z]
|
|
100
|
+
currency: $ => token(/[A-Z][A-Z0-9\'\._\-]*[A-Z0-9]?/),
|
|
101
101
|
string: $ => token(/"([^"]|\\")*"/),
|
|
102
102
|
unquoted_string: $ => token(prec(-1, /[^\r\n]+/)),
|
|
103
103
|
number: $ => token(/([0-9]+|[0-9][0-9,]+[0-9])(\.[0-9]*)?/),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tree-sitter-beancount",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "a tree-sitter parser for the beancount syntax",
|
|
5
5
|
"main": "bindings/node",
|
|
6
6
|
"types": "bindings/node",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/bryall/tree-sitter-beancount#readme",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"node-addon-api": "^8.
|
|
36
|
+
"node-addon-api": "^8.6.0",
|
|
37
37
|
"node-gyp-build": "^4.8.0",
|
|
38
|
-
"tar-fs": "^3.1.
|
|
38
|
+
"tar-fs": "^3.1.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"tree-sitter": "^0.25.0"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"prebuildify": "^6.0.0",
|
|
50
|
-
"tree-sitter-cli": "^0.26.
|
|
50
|
+
"tree-sitter-cli": "^0.26.5"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=22.0.0"
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|