@ridi/parser-core
Advanced tools
Comparing version 0.3.0-alpha.12 to 0.3.0-alpha.13
@@ -181,3 +181,6 @@ 'use strict'; | ||
get: function get() { | ||
return {}; | ||
return { | ||
// If true, ignore any exceptions that occur within parser. | ||
force: false | ||
}; | ||
} | ||
@@ -192,3 +195,5 @@ | ||
get: function get() { | ||
return {}; | ||
return { | ||
force: 'Boolean' | ||
}; | ||
} | ||
@@ -633,5 +638,5 @@ }]); | ||
case 0: | ||
if (!items.find(function (item) { | ||
if (!(!options.force && items.find(function (item) { | ||
return !(item instanceof _this4._getReadItemClass()); | ||
})) { | ||
}))) { | ||
_context8.next = 2; | ||
@@ -638,0 +643,0 @@ break; |
{ | ||
"name": "@ridi/parser-core", | ||
"version": "0.3.0-alpha.12", | ||
"version": "0.3.0-alpha.13", | ||
"description": "Utilities for parsers", | ||
@@ -5,0 +5,0 @@ "author": { |
61787
1548