casbin 5.32.0 → 5.35.0
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 +14 -0
- package/lib/cjs/coreEnforcer.js +1 -1
- package/lib/esm/coreEnforcer.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [5.35.0](https://github.com/casbin/node-casbin/compare/v5.34.0...v5.35.0) (2024-11-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* update to @casbin/expression-eval 5.3.0 to fix short-circuit bug ([#495](https://github.com/casbin/node-casbin/issues/495)) ([094bef7](https://github.com/casbin/node-casbin/commit/094bef7aec70eac4c5a0e4c79dea8178f81b4626))
|
|
7
|
+
|
|
8
|
+
# [5.34.0](https://github.com/casbin/node-casbin/compare/v5.33.0...v5.34.0) (2024-11-04)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* switch dependency to our own package: @casbin/expression-eval 5.2.0 ([#489](https://github.com/casbin/node-casbin/issues/489)) ([acf39c2](https://github.com/casbin/node-casbin/commit/acf39c26e578d0125f8246aafafa75e52b17109a))
|
|
14
|
+
|
|
1
15
|
# [5.32.0](https://github.com/casbin/node-casbin/compare/v5.31.0...v5.32.0) (2024-10-20)
|
|
2
16
|
|
|
3
17
|
|
package/lib/cjs/coreEnforcer.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
// limitations under the License.
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CoreEnforcer = void 0;
|
|
17
|
-
const expression_eval_1 = require("expression-eval");
|
|
17
|
+
const expression_eval_1 = require("@casbin/expression-eval");
|
|
18
18
|
const effect_1 = require("./effect");
|
|
19
19
|
const model_1 = require("./model");
|
|
20
20
|
const rbac_1 = require("./rbac");
|
package/lib/esm/coreEnforcer.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
-
import { compile, compileAsync, addBinaryOp } from 'expression-eval';
|
|
14
|
+
import { compile, compileAsync, addBinaryOp } from '@casbin/expression-eval';
|
|
15
15
|
import { DefaultEffector, Effect } from './effect';
|
|
16
16
|
import { FunctionMap, newModelFromFile } from './model';
|
|
17
17
|
import { DefaultRoleManager } from './rbac';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "casbin",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.35.0",
|
|
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",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"typescript": "^3.7.2"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
+
"@casbin/expression-eval": "^5.3.0",
|
|
52
53
|
"await-lock": "^2.0.1",
|
|
53
54
|
"buffer": "^6.0.3",
|
|
54
55
|
"csv-parse": "^5.3.5",
|
|
55
|
-
"expression-eval": "^5.0.0",
|
|
56
56
|
"minimatch": "^7.4.2"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|