@harmoniclabs/plutus-data
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -30,3 +30,20 @@ "use strict"; | ||
var openBracketIdx = str.indexOf("["); | ||
if (openBracketIdx < 0) { | ||
var bIdx = str.indexOf("B"); | ||
var iIdx = str.indexOf("I"); | ||
if ( | ||
// there is no open bracket | ||
openBracketIdx < 0 || | ||
( // or | ||
// we have an open bracket | ||
// and B is also present | ||
bIdx >= 0 ? | ||
// and B is before the open bracket | ||
bIdx < openBracketIdx : | ||
( | ||
// or I is also present | ||
iIdx >= 0 ? | ||
// and I is before | ||
iIdx < openBracketIdx : | ||
// else open bracket comes first | ||
false))) { | ||
var intMatch = str | ||
@@ -33,0 +50,0 @@ // I\s+ -> "I" followed by one or more space |
{ | ||
"name": "@harmoniclabs/plutus-data", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
39145
997