casbin-knex-adapter
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -19,3 +19,3 @@ "use strict"; | ||
get policiesTable() { | ||
return this.knex('policies'); | ||
return this.knex(this.tableName); | ||
} | ||
@@ -22,0 +22,0 @@ async createTable() { |
{ | ||
"name": "casbin-knex-adapter", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"description": "Knex adapter for Casbin", | ||
@@ -34,21 +34,21 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/jest": "^26.0.22", | ||
"@types/node": "^14.14.37", | ||
"@typescript-eslint/eslint-plugin": "^4.20.0", | ||
"@typescript-eslint/parser": "^4.20.0", | ||
"casbin": "^5.6.0", | ||
"eslint": "^7.23.0", | ||
"@types/jest": "^26.0.24", | ||
"@types/node": "^16.3.1", | ||
"@typescript-eslint/eslint-plugin": "^4.28.3", | ||
"@typescript-eslint/parser": "^4.28.3", | ||
"casbin": "5.9.0", | ||
"eslint": "^7.30.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"jest": "^26.6.3", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"jest": "^27.0.6", | ||
"knex": "~0.21.19", | ||
"mssql": "^6.3.1", | ||
"mssql": "^6.3.2", | ||
"mysql": "^2.18.1", | ||
"mysql2": "^2.2.5", | ||
"pg": "^8.5.1", | ||
"prettier": "^2.2.1", | ||
"pg": "^8.6.0", | ||
"prettier": "^2.3.2", | ||
"sqlite3": "^5.0.2", | ||
"tedious": "9.2.3", | ||
"ts-jest": "^26.5.4", | ||
"typescript": "^4.2.3" | ||
"ts-jest": "^27.0.3", | ||
"typescript": "4.3.5" | ||
}, | ||
@@ -55,0 +55,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package