tree-sitter
Advanced tools
Comparing version 0.13.23 to 0.14.0
10
index.js
@@ -302,3 +302,3 @@ let binding; | ||
buffer, oldTree, | ||
{syncOperationLimit, includedRanges} = {} | ||
{syncTimeoutMicros, includedRanges} = {} | ||
) { | ||
@@ -323,8 +323,8 @@ let tree | ||
includedRanges, | ||
syncOperationLimit | ||
syncTimeoutMicros | ||
); | ||
// If the parse finished synchronously because of the given `syncOperationLimit`, | ||
// then return the tree immediately so that callers have the option of continuing | ||
// synchronously. | ||
// If the parse finished synchronously within the time specified by the | ||
// `syncTimeoutMicros` parameter, then return the tree immediately | ||
// so that callers have the option of continuing synchronously. | ||
return tree || treePromise | ||
@@ -331,0 +331,0 @@ }; |
{ | ||
"name": "tree-sitter", | ||
"version": "0.13.23", | ||
"version": "0.14.0", | ||
"description": "Incremental parsers for node", | ||
@@ -22,3 +22,7 @@ "author": "Max Brunsfeld", | ||
"devDependencies": { | ||
"prebuild": "^7.6.0" | ||
"prebuild": "^7.6.0", | ||
"chai": "3.5.x", | ||
"mocha": "^5.2.0", | ||
"superstring": "^2.3.5", | ||
"tree-sitter-javascript": "0.13.x" | ||
}, | ||
@@ -29,4 +33,4 @@ "scripts": { | ||
"prebuild:upload": "prebuild --upload-all", | ||
"test": "echo 'node-tree-sitter'" | ||
"test": "mocha" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
2006484
5
61