casbin 5.19.2 → 5.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [5.19.3](https://github.com/casbin/node-casbin/compare/v5.19.2...v5.19.3) (2022-12-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update express-eval dependency to v5 ([#400](https://github.com/casbin/node-casbin/issues/400)) ([02a9496](https://github.com/casbin/node-casbin/commit/02a94967aa182fbc588e4ca7da70c7b55e5e8407))
7
+
1
8
  ## [5.19.2](https://github.com/casbin/node-casbin/compare/v5.19.1...v5.19.2) (2022-11-12)
2
9
 
3
10
 
package/README.md CHANGED
@@ -18,11 +18,11 @@
18
18
 
19
19
  <a href="https://casdoor.org/"><img src="https://user-images.githubusercontent.com/3787410/147868267-6ac74908-5654-4f9c-ac79-8852af9ff925.png" alt="casdoor" style="width: 50%; height: 50%"/></a>
20
20
 
21
- **News**: still worry about how to write the correct `node-casbin` policy? [Casbin online editor](http://casbin.org/en/editor) is coming to help!
21
+ **News**: still worry about how to write the correct `node-casbin` policy? [Casbin online editor](http://casbin.org/editor) is coming to help!
22
22
 
23
23
  ![casbin Logo](casbin-logo.png)
24
24
 
25
- `node-casbin` is a powerful and efficient open-source access control library for Node.JS projects. It provides support for enforcing authorization based on various [access control models](https://en.wikipedia.org/wiki/Computer_security_model).
25
+ `node-casbin` is a powerful and efficient open-source access control library for Node.JS projects. It provides support for enforcing authorization based on various [access control models](https:/.wikipedia.org/wiki/Computer_security_model).
26
26
 
27
27
  ## All the languages supported by Casbin:
28
28
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  ## Documentation
40
40
 
41
- https://casbin.org/docs/en/overview
41
+ https://casbin.org/docs/overview
42
42
 
43
43
  ## Installation
44
44
 
@@ -97,24 +97,24 @@ See [Policy management APIs](#policy-management) for more usage.
97
97
 
98
98
  Casbin provides two sets of APIs to manage permissions:
99
99
 
100
- - [Management API](https://casbin.org/docs/en/management-api): the primitive API that provides full support for Casbin policy management.
101
- - [RBAC API](https://casbin.org/docs/en/rbac-api): a more friendly API for RBAC. This API is a subset of Management API. The RBAC users could use this API to simplify the code.
100
+ - [Management API](https://casbin.org/docs/management-api): the primitive API that provides full support for Casbin policy management.
101
+ - [RBAC API](https://casbin.org/docs/rbac-api): a more friendly API for RBAC. This API is a subset of Management API. The RBAC users could use this API to simplify the code.
102
102
 
103
103
  ## Official Model
104
104
 
105
- https://casbin.org/docs/en/supported-models
105
+ https://casbin.org/docs/supported-models
106
106
 
107
107
  ## Policy persistence
108
108
 
109
- https://casbin.org/docs/en/adapters
109
+ https://casbin.org/docs/adapters
110
110
 
111
111
  ## Policy consistence between multiple nodes
112
112
 
113
- https://casbin.org/docs/en/watchers
113
+ https://casbin.org/docs/watchers
114
114
 
115
115
  ## Role manager
116
116
 
117
- https://casbin.org/docs/en/role-managers
117
+ https://casbin.org/docs/role-managers
118
118
 
119
119
  ## Contributors
120
120
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "casbin",
3
- "version": "5.19.2",
3
+ "version": "5.19.3",
4
4
  "description": "An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS",
5
5
  "main": "lib/cjs/index.js",
6
6
  "typings": "lib/cjs/index.d.ts",
@@ -28,8 +28,8 @@
28
28
  "@semantic-release/release-notes-generator": "^9.0.3",
29
29
  "@types/jest": "^26.0.20",
30
30
  "@types/lodash": "^4.14.168",
31
- "@types/picomatch": "^2.2.2",
32
31
  "@types/node": "^10.5.3",
32
+ "@types/picomatch": "^2.2.2",
33
33
  "@typescript-eslint/eslint-plugin": "^4.17.0",
34
34
  "@typescript-eslint/parser": "^4.17.0",
35
35
  "coveralls": "^3.0.2",
@@ -52,7 +52,7 @@
52
52
  "dependencies": {
53
53
  "await-lock": "^2.0.1",
54
54
  "csv-parse": "^4.15.3",
55
- "expression-eval": "^4.0.0",
55
+ "expression-eval": "^5.0.0",
56
56
  "picomatch": "^2.2.3"
57
57
  },
58
58
  "files": [