New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

casbin

Package Overview
Dependencies
Maintainers
6
Versions
137
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 5.11.4 to 5.11.5

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [5.11.5](https://github.com/casbin/node-casbin/compare/v5.11.4...v5.11.5) (2021-08-18)
### Bug Fixes
* fix error overloading for role manager ([#319](https://github.com/casbin/node-casbin/issues/319)) ([e69450b](https://github.com/casbin/node-casbin/commit/e69450b53a06be4abda9b1669d578ef1e27dc19d))
## [5.11.4](https://github.com/casbin/node-casbin/compare/v5.11.3...v5.11.4) (2021-08-17)

@@ -2,0 +9,0 @@

3

lib/cjs/coreEnforcer.js

@@ -32,3 +32,2 @@ "use strict";

this.watcher = null;
this.rmMap = new Map([['g', new rbac_1.DefaultRoleManager(10)]]);
this.enabled = true;

@@ -164,3 +163,2 @@ this.autoSave = true;

this.sortPolicies();
this.initRmMap();
if (this.autoBuildRoleLinks) {

@@ -194,3 +192,2 @@ await this.buildRoleLinksInternal();

this.sortPolicies();
this.initRmMap();
if (this.autoBuildRoleLinks) {

@@ -197,0 +194,0 @@ await this.buildRoleLinksInternal();

@@ -69,2 +69,3 @@ "use strict";

this.model.printModel();
this.initRmMap();
if (!lazyLoad && this.adapter) {

@@ -71,0 +72,0 @@ await this.loadPolicy();

@@ -29,3 +29,2 @@ // Copyright 2018 The Casbin Authors. All Rights Reserved.

this.watcher = null;
this.rmMap = new Map([['g', new DefaultRoleManager(10)]]);
this.enabled = true;

@@ -161,3 +160,2 @@ this.autoSave = true;

this.sortPolicies();
this.initRmMap();
if (this.autoBuildRoleLinks) {

@@ -191,3 +189,2 @@ await this.buildRoleLinksInternal();

this.sortPolicies();
this.initRmMap();
if (this.autoBuildRoleLinks) {

@@ -194,0 +191,0 @@ await this.buildRoleLinksInternal();

@@ -66,2 +66,3 @@ // Copyright 2018 The Casbin Authors. All Rights Reserved.

this.model.printModel();
this.initRmMap();
if (!lazyLoad && this.adapter) {

@@ -68,0 +69,0 @@ await this.loadPolicy();

{
"name": "casbin",
"version": "5.11.4",
"version": "5.11.5",
"description": "An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS",

@@ -5,0 +5,0 @@ "main": "lib/cjs/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