Comparing version 1.1.1 to 1.2.0
@@ -44,15 +44,3 @@ "use strict"; | ||
break; | ||
} catch (error) {} // | ||
// $FlowFixMe | ||
if (openCharacter === '"') { | ||
try { | ||
const result = parser(haystack.replace(/\n/g, '\\n')); | ||
foundObjects.push(result); | ||
subjectOffset += startIndex + haystack.length; | ||
rule.lastIndex = 0; | ||
break; | ||
} catch (error) {// | ||
} | ||
} catch (error) {// | ||
} | ||
@@ -59,0 +47,0 @@ |
@@ -67,3 +67,3 @@ { | ||
}, | ||
"version": "1.1.1" | ||
"version": "1.2.0" | ||
} |
@@ -60,19 +60,2 @@ // @flow | ||
// $FlowFixMe | ||
if (openCharacter === '"') { | ||
try { | ||
const result = parser(haystack.replace(/\n/g, '\\n')); | ||
foundObjects.push(result); | ||
subjectOffset += startIndex + haystack.length; | ||
rule.lastIndex = 0; | ||
break; | ||
} catch (error) { | ||
// | ||
} | ||
} | ||
const offsetIndex = haystack.slice(0, -1).lastIndexOf(closeCharacter) + 1; | ||
@@ -79,0 +62,0 @@ |
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
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
15690
122