Skip to content

Commit

Permalink
feat: update to @casbin/expression-eval 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tx2002 committed Oct 28, 2024
1 parent 980ef14 commit ce76571
Show file tree
Hide file tree
Showing 4 changed files with 4,230 additions and 3,129 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"await-lock": "^2.0.1",
"buffer": "^6.0.3",
"csv-parse": "^5.3.5",
"expression-eval": "^5.0.0",
"@casbin/expression-eval": "^5.2.0",
"minimatch": "^7.4.2"
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/coreEnforcer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

import { compile, compileAsync, addBinaryOp } from 'expression-eval';
import { compile, compileAsync, addBinaryOp } from '@casbin/expression-eval';

import { DefaultEffector, Effect, Effector } from './effect';
import { FunctionMap, Model, newModelFromFile, PolicyOp } from './model';
Expand Down
2 changes: 1 addition & 1 deletion test/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

import { getLogger, logPrint, Util as util } from '../src';
import { compile } from 'expression-eval';
import { compile } from '@casbin/expression-eval';

test('test enableLog success', () => {
getLogger().enableLog(true);
Expand Down
Loading

0 comments on commit ce76571

Please sign in to comment.