node-casbin icon indicating copy to clipboard operation
node-casbin copied to clipboard

Replace depricated library [email protected]

Open mjza opened this issue 1 year ago • 2 comments

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

npm WARN deprecated [email protected]: 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?

mjza avatar May 03 '24 06:05 mjza

@nodece @Shivansh-yadav13

casbin-bot avatar May 03 '24 06:05 casbin-bot

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

nodece avatar May 03 '24 11:05 nodece