@types/parsimmon
Advanced tools
Comparing version 1.10.2 to 1.10.3
@@ -111,2 +111,9 @@ // Type definitions for Parsimmon 1.10 | ||
/** | ||
* Passes the result of `parser` to the function `condition`, | ||
* which returns a boolean. If the the condition is false, returns | ||
* a failed parse with the given `message`. Else it returns the | ||
* original result of `parser`. | ||
*/ | ||
assert(condition: (result: T) => boolean, message: string): Parser<T>; | ||
/** | ||
* returns a new parser which tries parser, and if it fails uses otherParser. | ||
@@ -113,0 +120,0 @@ */ |
{ | ||
"name": "@types/parsimmon", | ||
"version": "1.10.2", | ||
"version": "1.10.3", | ||
"description": "TypeScript definitions for Parsimmon", | ||
@@ -52,4 +52,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "736ff6dccef23d40697ee77fea616858f653a50db9681e37f02318d2cf0f6f9d", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "d4283ed936b9bdc32d887669f89eb28e4a7bc51d3ece28d9c0755c4a56b179f7", | ||
"typeScriptVersion": "3.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 15 May 2020 11:31:57 GMT | ||
* Last updated: Wed, 23 Sep 2020 06:28:40 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
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
27146
550