Comparing version 3.0.2 to 3.0.3
@@ -83,2 +83,13 @@ "use strict"; | ||
} | ||
else if (sec === 'm') { | ||
const stringArguments = value.match(/\"(.*?)\"/g) || []; | ||
stringArguments.forEach((n, index) => { | ||
value = value.replace(n, `$<${index}>`); | ||
}); | ||
value = util.removeComments(util.escapeAssertion(value)); | ||
stringArguments.forEach((n, index) => { | ||
value = value.replace(`$<${index}>`, n); | ||
}); | ||
ast.value = value; | ||
} | ||
else { | ||
@@ -85,0 +96,0 @@ ast.value = util.removeComments(util.escapeAssertion(value)); |
{ | ||
"name": "casbin", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
176569
3943