This is an automated email from the ASF dual-hosted git repository.

EmryZhang pushed a commit to branch chore/release-readiness-20261009
in repository https://gitbox.apache.org/repos/asf/casbin-node-casbin.git

commit 1487d84856591e85d17fe7736499e7bf3e83a761
Merge: d431341 152ccd9
Author: Zhangyanrui123 <[email protected]>
AuthorDate: Sun Nov 1 13:04:03 2026 +0800

    Merge remote-tracking branch 'origin/master' into 
chore/release-readiness-20261009

 .github/workflows/main.yml   |  8 +++++
 src/coreEnforcer.ts          | 29 ++++++++++++++----
 src/model/assertion.ts       |  8 +++--
 src/model/model.ts           | 14 +++------
 src/util/builtinOperators.ts |  8 ++---
 src/util/util.ts             | 26 +++++++++++++++-
 test/conformance.test.ts     | 72 ++++++++++++++++++++++++++++++++++++++++++++
 test/enforcer.test.ts        | 33 ++++++++++++++++++++
 test/model.test.ts           | 19 +++++++++++-
 test/util.test.ts            | 20 ++++++++++++
 10 files changed, 211 insertions(+), 26 deletions(-)

diff --cc test/model.test.ts
index 796fb32,a847fb2..337372e
--- a/test/model.test.ts
+++ b/test/model.test.ts
@@@ -1,21 -1,19 +1,21 @@@
 -// Copyright 2018 The Casbin Authors. All Rights Reserved.
 +// Licensed to the Apache Software Foundation (ASF) under one
 +// or more contributor license agreements.  See the NOTICE file
 +// distributed with this work for additional information
 +// regarding copyright ownership.  The ASF licenses this file
 +// to you under the Apache License, Version 2.0 (the
 +// "License"); you may not use this file except in compliance
 +// with the License.  You may obtain a copy of the License at
  //
 -// Licensed under the Apache License, Version 2.0 (the "License");
 -// you may not use this file except in compliance with the License.
 -// You may obtain a copy of the License at
 +//   https://www.apache.org/licenses/LICENSE-2.0
  //
 -//      http://www.apache.org/licenses/LICENSE-2.0
 -//
 -// Unless required by applicable law or agreed to in writing, software
 -// distributed under the License is distributed on an "AS IS" BASIS,
 -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 -// See the License for the specific language governing permissions and
 -// limitations under the License.
 -// noinspection JSMismatchedCollectionQueryUpdate
 +// Unless required by applicable law or agreed to in writing,
 +// software distributed under the License is distributed on an
 +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 +// KIND, either express or implied.  See the License for the
 +// specific language governing permissions and limitations
 +// under the License.
  
- import { DefaultRoleManager, Enforcer, newEnforcer, newModel } from '../src';
+ import { DefaultRoleManager, Enforcer, newEnforcer, newModel, StringAdapter } 
from '../src';
  import { keyMatch2Func, keyMatch3Func, keyMatchFunc } from '../src/util';
  
  async function testEnforce(e: Enforcer, sub: string, obj: any, act: string, 
res: boolean): Promise<void> {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to