Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

casbin

Package Overview
Dependencies
Maintainers
3
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

casbin - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

11

lib/model/model.js

@@ -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));

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc