casbin / node-casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
https://casbin.org
Apache License 2.0
2.58k stars 215 forks source link

Replace depricated library expression-eval@5.0.1 #478

Open mjza opened 4 months ago

mjza commented 4 months ago

When I deploy my nodejs server, I see this warning in my CI/CD console:

npm WARN deprecated expression-eval@5.0.1: The expression-eval npm package is no longer maintained. The package was originally published as part of a now-completed personal project, and I do not have incentives to continue maintenance.

I realized actually casbin use it:

"node_modules/casbin": {
      "version": "5.30.0",
      "resolved": "https://registry.npmjs.org/casbin/-/casbin-5.30.0.tgz",
      "integrity": "sha512-GDc8sImStd+ddBVBfLpe5fJPBWRjeEaz7fkiAGuw0+LTHF2TVvVsMALIMOx+ofzQhm+EHCH7mfiJsrS1Kgef2w==",
      "dependencies": {
        "await-lock": "^2.0.1",
        "buffer": "^6.0.3",
        "csv-parse": "^5.3.5",
        "expression-eval": "^5.0.0",
        "minimatch": "^7.4.2"
      }
    },

Could you please find an alternative or maintain the library?

casbin-bot commented 4 months ago

@nodece @Shivansh-yadav13

nodece commented 4 months ago

No plan, it is stable, although it has been deprecated.